অফলাইন রূপান্তর পরিচালনা করুন

অফলাইন জগতে, যেমন ফোনে বা বিক্রয় প্রতিনিধির মাধ্যমে, বিক্রয়ের দিকে পরিচালিত করে এমন বিজ্ঞাপনগুলি ট্র্যাক করার জন্য আপনি Google Ads API ব্যবহার করে অফলাইন রূপান্তরগুলিকে Google Ads-এ আমদানি করতে পারেন।

রূপান্তর ডেটা আমদানির সুবিধাগুলি সম্পূর্ণরূপে গ্রহণ করার জন্য, আমরা লিডগুলির জন্য উন্নত রূপান্তর বাস্তবায়নের পরামর্শ দিচ্ছি, যা স্থায়িত্ব এবং কর্মক্ষমতা সর্বাধিক করার জন্য GCLID এবং ব্যবহারকারী-প্রদত্ত ডেটা ব্যবহার করে।

উন্নত রূপান্তর

উন্নত রূপান্তরগুলি আপনার রূপান্তর পরিমাপের নির্ভুলতা উন্নত করতে সাহায্য করে, আপনার রূপান্তরগুলিতে প্রথম পক্ষের রূপান্তর ডেটা, যেমন ইমেল ঠিকানা, নাম, বাড়ির ঠিকানা এবং ফোন নম্বর যোগ করে।

উন্নত রূপান্তর দুই ধরণের। আরও বিস্তারিত জানার জন্য উন্নত রূপান্তর সম্পর্কে সহায়তা কেন্দ্র নিবন্ধটি দেখুন।

নিম্নলিখিত বিভাগে ব্যাখ্যা করা হয়েছে কিভাবে অফলাইন রূপান্তর উন্নত করা যায়, একটি বৈশিষ্ট্য যা লিডের জন্য উন্নত রূপান্তর হিসাবেও পরিচিত।

লিডের জন্য উন্নত রূপান্তর কী?

লিডের জন্য উন্নত রূপান্তর হল অফলাইন রূপান্তর আমদানির একটি আপগ্রেড করা সংস্করণ যা ব্যবহারকারীর দ্বারা প্রদত্ত ডেটা, যেমন ইমেল ঠিকানা, ব্যবহার করে আমদানি করা অফলাইন রূপান্তর ডেটার পরিপূরক হিসেবে নির্ভুলতা এবং বিডিং কর্মক্ষমতা উন্নত করে। যখন আপনি আপনার অফলাইন রূপান্তরগুলি আমদানি করেন, তখন প্রদত্ত হ্যাশ করা গ্রাহক ডেটা আপনার ওয়েবসাইটে সংগৃহীত একই ডেটা, যেমন a, লিড ফর্ম এবং আপনার বিজ্ঞাপনের সাথে জড়িত সাইন-ইন করা গ্রাহকদের সাথে মিলিয়ে Google বিজ্ঞাপন প্রচারণায় ফিরিয়ে আনার জন্য ব্যবহার করা হয়। লিডের জন্য উন্নত রূপান্তর কীভাবে কাজ করে সে সম্পর্কে আরও তথ্যের জন্য, আমাদের নিবন্ধটি পর্যালোচনা করুন; লিডের জন্য উন্নত রূপান্তর সম্পর্কে

আপনার ওয়েবপেজে ফর্ম জমা দেওয়ার ইভেন্টগুলি ট্র্যাক করার জন্য আপনি Google ট্যাগ ব্যবহার করেন কিনা তার উপর নির্ভর করে লিডের জন্য উন্নত রূপান্তর বাস্তবায়নের দুটি উপায় রয়েছে। সেরা কর্মক্ষমতা এবং স্থায়িত্বের জন্য, আমরা লিডের জন্য উন্নত রূপান্তরের জন্য Google ট্যাগ ব্যবহার করার দৃঢ়ভাবে পরামর্শ দিচ্ছি।

  • যদি আপনি একেবারে শুরু থেকে শুরু করেন, তাহলে পূর্বশর্ত বিভাগ দিয়ে শুরু করুন।
  • যদি আপনার ইতিমধ্যেই অফলাইন রূপান্তর আমদানি সেট আপ করা থাকে এবং লিডের জন্য উন্নত রূপান্তরগুলিতে আপগ্রেড করতে চান, তাহলে আমরা ট্যাগিং কনফিগার করুন বিভাগ দিয়ে শুরু করার পরামর্শ দিচ্ছি।
  • যদি আপনি ইতিমধ্যেই Google ট্যাগ সেট আপ করে থাকেন, অথবা Google ট্যাগ ব্যবহার করার পরিকল্পনা না করেন, এবং আপনার Google Ads API ইন্টিগ্রেশনের কাজ শুরু করছেন, তাহলে API বাস্তবায়ন বিভাগে যান।
  • যদি আপনি ব্যবহারকারীর সরবরাহিত ডেটা আমদানি করতে না পারেন, অথবা আপনার রূপান্তরের জন্য বহিরাগত অ্যাট্রিবিউশনের উপর নির্ভর করতে না পারেন, তাহলে লিগ্যাসি অফলাইন রূপান্তর আমদানি নির্দেশিকা দেখুন।

পূর্বশর্ত

প্রথমে, নিশ্চিত করুন যে আপনি আমাদের "শুরু করা" বিভাগের ধাপগুলি সম্পন্ন করেছেন।

লিডের জন্য উন্নত রূপান্তর ব্যবহার করার আগে আপনাকে লিডের জন্য উন্নত রূপান্তর বেছে নিতে হবে এবং গ্রাহক ডেটা শর্তাবলী গ্রহণ করতে হবে। Google Ads রূপান্তর গ্রাহককে নিম্নলিখিত প্রশ্নটি জারি করে আপনি এই পূর্বশর্তগুলি ইতিমধ্যেই পূরণ করা হয়েছে কিনা তা যাচাই করতে পারেন:

SELECT
  customer.id,
  customer.conversion_tracking_setting.accepted_customer_data_terms,
  customer.conversion_tracking_setting.enhanced_conversions_for_leads_enabled
FROM customer

যদি accepted_customer_data_terms অথবা enhanced_conversions_for_leads_enabled এর যেকোনো একটি false হয়, তাহলে এই পূর্বশর্তগুলি পূরণ করতে সহায়তা কেন্দ্রের নির্দেশাবলী অনুসরণ করুন।

ট্যাগিং কনফিগার করুন

সহায়তা কেন্দ্রের নির্দেশাবলী অনুসরণ করে লিডের জন্য উন্নত রূপান্তর সক্ষম করতে Google ট্যাগ কনফিগার করুন। Google ট্যাগ ম্যানেজারের সাহায্যে লিডের জন্য উন্নত রূপান্তর সেট আপ করতে, এই নির্দেশাবলী অনুসরণ করুন।

API বাস্তবায়ন

Google Ads API ব্যবহার করে লিডের জন্য উন্নত রূপান্তর আমদানির সামগ্রিক প্রবাহ এখানে দেওয়া হল।

  1. ব্যবহারকারীর প্রদত্ত ডেটা, যেমন ইমেল ঠিকানা, ফোন নম্বর এবং মেইলিং ঠিকানা স্বাভাবিক করুন এবং হ্যাশ করুন

  2. ব্যবহারকারীর দ্বারা সরবরাহিত স্বাভাবিক এবং হ্যাশ করা ডেটা দিয়ে ClickConversion অবজেক্টগুলিকে পূরণ করুন

  3. ConversionUploadService ব্যবহার করে Google Ads API-তে ClickConversion অবজেক্ট ইম্পোর্ট করুন

  4. আপনার আমদানি পর্যালোচনা করুন

ব্যবহারকারী-প্রদত্ত ডেটা স্বাভাবিক করুন এবং হ্যাশ করুন

গোপনীয়তার বিবেচনার জন্য, নিম্নলিখিত ডেটা আমদানি করার আগে SHA-256 ব্যবহার করে হ্যাশ করতে হবে:

  • ইমেল ঠিকানা
  • ফোন নম্বর
  • প্রথম নাম
  • পদবি
  • রাস্তার ঠিকানা

হ্যাশ ফলাফলগুলিকে মানসম্মত করার জন্য, এই মানগুলি হ্যাশ করার আগে আপনাকে নিম্নলিখিতগুলি করতে হবে:

  • লিডিং এবং ট্রেইলিং হোয়াইটস্পেস মুছে ফেলুন।
  • লেখাটিকে ছোট হাতের অক্ষরে রূপান্তর করুন।
  • E164 স্ট্যান্ডার্ড অনুসারে ফোন নম্বরগুলি ফর্ম্যাট করুন।
  • gmail.com এবং googlemail.com ইমেল ঠিকানায় ডোমেন নামের আগে থাকা সমস্ত পিরিয়ড ( . ) মুছে ফেলুন।

নিম্নলিখিত তথ্য হ্যাশ করবেন না :

  • দেশ
  • রাজ্য
  • শহর
  • জিপ কোড

কোড উদাহরণ

এই উদাহরণটি দেখায় কিভাবে ব্যবহারকারীর দ্বারা সরবরাহিত ডেটা স্বাভাবিক এবং হ্যাশ করা যায়।

জাভা

private String normalizeAndHash(MessageDigest digest, String s)
    throws UnsupportedEncodingException {
  // Normalizes by first converting all characters to lowercase, then trimming spaces.
  String normalized = s.toLowerCase();
  // Removes leading, trailing, and intermediate spaces.
  normalized = normalized.replaceAll("\\s+", "");
  // Hashes the normalized string using the hashing algorithm.
  byte[] hash = digest.digest(normalized.getBytes("UTF-8"));
  StringBuilder result = new StringBuilder();
  for (byte b : hash) {
    result.append(String.format("%02x", b));
  }

  return result.toString();
}

/**
 * Returns the result of normalizing and hashing an email address. For this use case, Google Ads
 * requires removal of any '.' characters preceding {@code gmail.com} or {@code googlemail.com}.
 *
 * @param digest the digest to use to hash the normalized string.
 * @param emailAddress the email address to normalize and hash.
 */
private String normalizeAndHashEmailAddress(MessageDigest digest, String emailAddress)
    throws UnsupportedEncodingException {
  String normalizedEmail = emailAddress.toLowerCase();
  String[] emailParts = normalizedEmail.split("@");
  if (emailParts.length > 1 && emailParts[1].matches("^(gmail|googlemail)\\.com\\s*")) {
    // Removes any '.' characters from the portion of the email address before the domain if the
    // domain is gmail.com or googlemail.com.
    emailParts[0] = emailParts[0].replaceAll("\\.", "");
    normalizedEmail = String.format("%s@%s", emailParts[0], emailParts[1]);
  }
  return normalizeAndHash(digest, normalizedEmail);
}
      

সি#

/// <summary>
/// Normalizes the email address and hashes it. For this use case, Google Ads requires
/// removal of any '.' characters preceding <code>gmail.com</code> or
/// <code>googlemail.com</code>.
/// </summary>
/// <param name="emailAddress">The email address.</param>
/// <returns>The hash code.</returns>
private string NormalizeAndHashEmailAddress(string emailAddress)
{
    string normalizedEmail = emailAddress.ToLower();
    string[] emailParts = normalizedEmail.Split('@');
    if (emailParts.Length > 1 && (emailParts[1] == "gmail.com" ||
        emailParts[1] == "googlemail.com"))
    {
        // Removes any '.' characters from the portion of the email address before
        // the domain if the domain is gmail.com or googlemail.com.
        emailParts[0] = emailParts[0].Replace(".", "");
        normalizedEmail = $"{emailParts[0]}@{emailParts[1]}";
    }
    return NormalizeAndHash(normalizedEmail);
}

/// <summary>
/// Normalizes and hashes a string value.
/// </summary>
/// <param name="value">The value to normalize and hash.</param>
/// <returns>The normalized and hashed value.</returns>
private static string NormalizeAndHash(string value)
{
    return ToSha256String(digest, ToNormalizedValue(value));
}

/// <summary>
/// Hash a string value using SHA-256 hashing algorithm.
/// </summary>
/// <param name="digest">Provides the algorithm for SHA-256.</param>
/// <param name="value">The string value (e.g. an email address) to hash.</param>
/// <returns>The hashed value.</returns>
private static string ToSha256String(SHA256 digest, string value)
{
    byte[] digestBytes = digest.ComputeHash(Encoding.UTF8.GetBytes(value));
    // Convert the byte array into an unhyphenated hexadecimal string.
    return BitConverter.ToString(digestBytes).Replace("-", string.Empty);
}

/// <summary>
/// Removes leading and trailing whitespace and converts all characters to
/// lower case.
/// </summary>
/// <param name="value">The value to normalize.</param>
/// <returns>The normalized value.</returns>
private static string ToNormalizedValue(string value)
{
    return value.Trim().ToLower();
}
      

পিএইচপি

private static function normalizeAndHash(string $hashAlgorithm, string $value): string
{
    // Normalizes by first converting all characters to lowercase, then trimming spaces.
    $normalized = strtolower($value);
    // Removes leading, trailing, and intermediate spaces.
    $normalized = str_replace(' ', '', $normalized);
    return hash($hashAlgorithm, strtolower(trim($normalized)));
}

/**
 * Returns the result of normalizing and hashing an email address. For this use case, Google
 * Ads requires removal of any '.' characters preceding "gmail.com" or "googlemail.com".
 *
 * @param string $hashAlgorithm the hash algorithm to use
 * @param string $emailAddress the email address to normalize and hash
 * @return string the normalized and hashed email address
 */
private static function normalizeAndHashEmailAddress(
    string $hashAlgorithm,
    string $emailAddress
): string {
    $normalizedEmail = strtolower($emailAddress);
    $emailParts = explode("@", $normalizedEmail);
    if (
        count($emailParts) > 1
        && preg_match('/^(gmail|googlemail)\.com\s*/', $emailParts[1])
    ) {
        // Removes any '.' characters from the portion of the email address before the domain
        // if the domain is gmail.com or googlemail.com.
        $emailParts[0] = str_replace(".", "", $emailParts[0]);
        $normalizedEmail = sprintf('%s@%s', $emailParts[0], $emailParts[1]);
    }
    return self::normalizeAndHash($hashAlgorithm, $normalizedEmail);
}
      

পাইথন

def normalize_and_hash_email_address(email_address: str) -> str:
    """Returns the result of normalizing and hashing an email address.

    For this use case, Google Ads requires removal of any '.' characters
    preceding "gmail.com" or "googlemail.com"

    Args:
        email_address: An email address to normalize.

    Returns:
        A normalized (lowercase, removed whitespace) and SHA-265 hashed string.
    """
    normalized_email: str = email_address.strip().lower()
    email_parts: list[str] = normalized_email.split("@")

    # Check that there are at least two segments
    if len(email_parts) > 1:
        # Checks whether the domain of the email address is either "gmail.com"
        # or "googlemail.com". If this regex does not match then this statement
        # will evaluate to None.
        if re.match(r"^(gmail|googlemail)\.com$", email_parts[1]):
            # Removes any '.' characters from the portion of the email address
            # before the domain if the domain is gmail.com or googlemail.com.
            email_parts[0] = email_parts[0].replace(".", "")
            normalized_email = "@".join(email_parts)

    return normalize_and_hash(normalized_email)


def normalize_and_hash(s: str) -> str:
    """Normalizes and hashes a string with SHA-256.

    Private customer data must be hashed during upload, as described at:
    https://support.google.com/google-ads/answer/7474263

    Args:
        s: The string to perform this operation on.

    Returns:
        A normalized (lowercase, removed whitespace) and SHA-256 hashed string.
    """
    return hashlib.sha256(s.strip().lower().encode()).hexdigest()
      

রুবি

# Returns the result of normalizing and then hashing the string using the
# provided digest.  Private customer data must be hashed during upload, as
# described at https://support.google.com/google-ads/answer/7474263.
def normalize_and_hash(str)
  # Remove leading and trailing whitespace and ensure all letters are lowercase
  # before hashing.
  Digest::SHA256.hexdigest(str.strip.downcase)
end

# Returns the result of normalizing and hashing an email address. For this use
# case, Google Ads requires removal of any '.' characters preceding 'gmail.com'
# or 'googlemail.com'.
def normalize_and_hash_email(email)
  email_parts = email.downcase.split("@")
  # Removes any '.' characters from the portion of the email address before the
  # domain if the domain is gmail.com or googlemail.com.
  if email_parts.last =~ /^(gmail|googlemail)\.com\s*/
    email_parts[0] = email_parts[0].gsub('.', '')
  end
  normalize_and_hash(email_parts.join('@'))
end
      

পার্ল

sub normalize_and_hash {
  my $value = shift;

  # Removes leading, trailing, and intermediate spaces.
  $value =~ s/\s+//g;
  return sha256_hex(lc $value);
}

# Returns the result of normalizing and hashing an email address. For this use
# case, Google Ads requires removal of any '.' characters preceding 'gmail.com'
# or 'googlemail.com'.
sub normalize_and_hash_email_address {
  my $email_address = shift;

  my $normalized_email = lc $email_address;
  my @email_parts      = split('@', $normalized_email);
  if (scalar @email_parts > 1
    && $email_parts[1] =~ /^(gmail|googlemail)\.com\s*/)
  {
    # Remove any '.' characters from the portion of the email address before the
    # domain if the domain is 'gmail.com' or 'googlemail.com'.
    $email_parts[0] =~ s/\.//g;
    $normalized_email = sprintf '%s@%s', $email_parts[0], $email_parts[1];
  }
  return normalize_and_hash($normalized_email);
}
      

ক্লিক কনভার্সন অবজেক্ট পপুলেট করুন

আপনার UploadClickConversionRequestClickConversion অবজেক্টের সংগ্রহ আপনি যে রূপান্তরগুলি আমদানি করতে চান তার সেটকে প্রতিনিধিত্ব করে। ClickConversion অবজেক্ট তৈরি করার সময় নিম্নলিখিত বিবরণগুলি মনে রাখবেন:

gclid

GCLID হল ক্লিক আইডেন্টিফায়ার যা URL প্যারামিটার থেকে ক্যাপচার করা হয় যখন কোনও ব্যক্তি আপনার বিজ্ঞাপনে ক্লিক করে আপনার ওয়েবসাইটে নেভিগেট করে।

gbraid

যখন কোনও ব্যবহারকারী ওয়েবে কোনও বিজ্ঞাপনে ক্লিক করেন এবং আপনার iOS অ্যাপে পরিচালিত হন, তখন একটি gbraid উপস্থিত থাকে।

wbraid

যখন কোনও ব্যবহারকারী iOS অ্যাপের কোনও বিজ্ঞাপনে ক্লিক করেন এবং আপনার ওয়েবপৃষ্ঠায় চলে যান, তখন একটি wbraid উপস্থিত থাকে।

user_identifiers

লিডের জন্য উন্নত রূপান্তর ব্যবহার করার সময়, আপনাকে অবশ্যই user_identifiers ফিল্ডে normalized এবং হ্যাশ করা ব্যবহারকারী-প্রদত্ত ডেটা পূরণ করতে হবে। যদি আপনার একাধিক ব্যবহারকারী শনাক্তকারী উপলব্ধ থাকে, তাহলে প্রতিটির জন্য একটি পৃথক UserIdentifier তৈরি করুন, সর্বোচ্চ পাঁচটি শনাক্তকারী।

conversion_date_time

রূপান্তরের তারিখ এবং সময়।

মানটিতে একটি টাইমজোন নির্দিষ্ট থাকতে হবে এবং ফর্ম্যাটটি yyyy-mm-dd HH:mm:ss+|-HH:mm হতে হবে, উদাহরণস্বরূপ: 2022-01-01 19:32:45-05:00 (দিনের আলো সংরক্ষণের সময় উপেক্ষা করে)।

টাইমজোন যেকোনো বৈধ মানের জন্য হতে পারে: এটি অ্যাকাউন্টের টাইমজোনের সাথে মিলতে হবে না । তবে, যদি আপনি আপনার আমদানি করা রূপান্তর ডেটা Google বিজ্ঞাপন UI-তে থাকা ডেটার সাথে তুলনা করার পরিকল্পনা করেন, তাহলে আমরা আপনার Google বিজ্ঞাপন অ্যাকাউন্টের মতো একই টাইমজোন ব্যবহার করার পরামর্শ দিচ্ছি যাতে রূপান্তরের সংখ্যা মিলে যায়। আপনি সহায়তা কেন্দ্রে আরও বিশদ এবং উদাহরণ খুঁজে পেতে পারেন এবং বৈধ টাইমজোন আইডির তালিকার জন্য কোড এবং ফর্ম্যাটগুলি পরীক্ষা করতে পারেন।

conversion_action

অফলাইন রূপান্তরের জন্য ConversionAction এর রিসোর্সের নাম।

রূপান্তর অ্যাকশনে অবশ্যই UPLOAD_CLICKS type থাকতে হবে এবং ক্লিকের সাথে যুক্ত Google Ads অ্যাকাউন্টের Google Ads রূপান্তর গ্রাহকের মধ্যে থাকতে হবে।

conversion_value

রূপান্তরের মান।

currency_code

conversion_value মুদ্রা কোড

consent

ClickConversion অবজেক্টের consent ক্ষেত্রটি পূরণ করার জন্য এটি অত্যন্ত সুপারিশ করা হচ্ছে। যদি সেট না করা হয়, তাহলে আপনার রূপান্তরগুলি অ্যাট্রিবিউটেবল নাও হতে পারে।

order_id

রূপান্তরের জন্য লেনদেন আইডি নামেও পরিচিত। এই ক্ষেত্রটি ঐচ্ছিক, তবে দৃঢ়ভাবে সুপারিশ করা হয়, কারণ এটি সমন্বয় করার সময় আমদানি করা রূপান্তরগুলি উল্লেখ করা সহজ করে তোলে। যদি আপনি আমদানির সময় এটি সেট করেন, তাহলে আপনাকে যেকোনো সমন্বয়ের জন্য এটি ব্যবহার করতে হবে। ডুপ্লিকেট রূপান্তর কমাতে লেনদেন আইডি কীভাবে ব্যবহার করবেন সে সম্পর্কে আরও জানতে, এই সহায়তা কেন্দ্র নিবন্ধটি দেখুন।

custom_variables

কাস্টম রূপান্তর ভেরিয়েবলের মান।

Google Ads wbraid বা gbraid সাথে একত্রে কাস্টম রূপান্তর ভেরিয়েবল সমর্থন করে না।

conversion_environment

এই রূপান্তরটি যেখানে রেকর্ড করা হয়েছিল সেই পরিবেশটি নির্দেশ করে। উদাহরণস্বরূপ, APP অথবা WEB

session_attributes_encoded এবং session_attributes_key_value_pairs

সেশন অ্যাট্রিবিউটগুলি রূপান্তর অ্যাট্রিবিউটের জন্য ব্যবহৃত সমষ্টিগত শনাক্তকারীগুলিকে প্রতিনিধিত্ব করে। এগুলি ক্লিক শনাক্তকারী (যেমন GCLID এবং GBRAID) এবং ব্যবহারকারী-প্রদত্ত ডেটা ছাড়াও কাজ করে, যা লিডের জন্য উন্নত রূপান্তরের কেন্দ্রবিন্দু। সেশন অ্যাট্রিবিউটগুলি আমদানি করার দুটি উপায় রয়েছে: ব্রাউজারে আমাদের জাভাস্ক্রিপ্ট কোড দ্বারা তৈরি এনকোডেড টোকেন প্রদান করে, অথবা প্রতিটি শনাক্তকারীর জন্য পৃথক কী মান জোড়া প্রদান করে।

আপনার প্রচারাভিযানের পারফর্ম্যান্স সর্বাধিক করার জন্য, সম্ভব হলে, আপনার সমস্ত রূপান্তরের সাথে ক্লিক শনাক্তকারী, ব্যবহারকারীর দ্বারা প্রদত্ত ডেটা এবং সেশন অ্যাট্রিবিউট আমদানি করার পরামর্শ দেওয়া হচ্ছে।

জাভা

// Sets one of the sessionAttributesEncoded or sessionAttributesKeyValuePairs if either is
// provided.
if (rawRecord.containsKey("sessionAttributesEncoded")) {
  clickConversionBuilder.setSessionAttributesEncoded(
      ByteString.copyFromUtf8(rawRecord.get("sessionAttributesEncoded")));
} else if (rawRecord.containsKey("sessionAttributesMap")) {
  List<String> pairings =
      Arrays.stream(rawRecord.get("sessionAttributesMap").split(" "))
          .map(String::trim)
          .collect(Collectors.toList());
  SessionAttributesKeyValuePairs.Builder sessionAttributePairs =
      SessionAttributesKeyValuePairs.newBuilder();
  for (String pair : pairings) {
    String[] parts = pair.split("=", 2);
    if (parts.length != 2) {
      throw new IllegalArgumentException(
          "Failed to read the sessionAttributesMap. SessionAttributesMap must use a "
              + "space-delimited list of session attribute key value pairs. Each pair should be"
              + " separated by an equal sign, for example: 'gad_campaignid=12345 gad_source=1'");
    }
    sessionAttributePairs.addKeyValuePairs(
        SessionAttributeKeyValuePair.newBuilder()
            .setSessionAttributeKey(parts[0])
            .setSessionAttributeValue(parts[1])
            .build());
  }
  clickConversionBuilder.setSessionAttributesKeyValuePairs(sessionAttributePairs.build());
}
      

সি#

if (!string.IsNullOrEmpty(sessionAttributesEncoded))
{
    clickConversion.SessionAttributesEncoded =
        ByteString.CopyFrom(sessionAttributesEncoded, Encoding.Unicode);
}
else if (!string.IsNullOrEmpty(sessionAttributes))
{
    IEnumerable<SessionAttributeKeyValuePair> parsedSessionAttributes =
        sessionAttributes.Split(';').Select(pair => {
            string[] split = pair.Split('=');
            return new SessionAttributeKeyValuePair()
            {
                SessionAttributeKey = split[0],
                SessionAttributeValue = split[1]
            };
        });

    clickConversion.SessionAttributesKeyValuePairs =
        new SessionAttributesKeyValuePairs();
    clickConversion.SessionAttributesKeyValuePairs.KeyValuePairs
        .AddRange(parsedSessionAttributes);
}
      

পিএইচপি

This example is not yet available in PHP; you can take a look at the other languages.
    

পাইথন

# Set one of the session_attributes_encoded or
# session_attributes_key_value_pairs fields if either are provided.
if session_attributes_encoded:
    click_conversion.session_attributes_encoded = session_attributes_encoded
elif session_attributes_dict:
    for key, value in session_attributes_dict.items():
        pair: SessionAttributeKeyValuePair = client.get_type(
            "SessionAttributeKeyValuePair"
        )
        pair.session_attribute_key = key
        pair.session_attribute_value = value
        click_conversion.session_attributes_key_value_pairs.key_value_pairs.append(
            pair
        )
      

রুবি

This example is not yet available in Ruby; you can take a look at the other languages.
    

পার্ল

# Set one of the session_attributes_encoded or session_attributes_key_value_pairs
# fields if either are provided.
if (defined $session_attributes_encoded) {
  $click_conversion->{sessionAttributesEncoded} = $session_attributes_encoded;
} elsif (defined $session_attributes_hash) {
  while (my ($key, $value) = each %$session_attributes_hash) {
    my $pair =
      Google::Ads::GoogleAds::V22::Services::ConversionUploadService::SessionAttributeKeyValuePair
      ->new({sessionAttributeKey => $key, sessionAttributeValue => $value});
    push @{$click_conversion->{sessionAttributesKeyValuePairs}{keyValuePairs}
    }, $pair;
  }
}
      

user_ip_address

বিজ্ঞাপনে ক্লিক করার পর এবং রূপান্তর ইভেন্টের আগে গ্রাহক যখন ল্যান্ডিং পৃষ্ঠায় পৌঁছান তখন তাদের IP ঠিকানা। এটি গ্রাহকের ডিভাইসের IP ঠিকানা, বিজ্ঞাপনদাতার সার্ভারের নয়।

এই ক্ষেত্রটি একটি স্ট্রিং যা IPv4 অথবা IPv6 ফর্ম্যাটে একটি IP ঠিকানা উপস্থাপন করে। উদাহরণস্বরূপ:

  • আইপিভি৪: "192.0.2.0"
  • IPv6: "2001:0DB8:1234:5678:9999:1111:0000:0001"

কোড উদাহরণ

এই উদাহরণটি দেখায় কিভাবে আপনার স্বাভাবিক এবং হ্যাশ করা ব্যবহারকারী-প্রদত্ত ডেটা একটি ClickConversion অবজেক্টে সেট করবেন।

জাভা

// Creates an empty builder for constructing the click conversion.
ClickConversion.Builder clickConversionBuilder = ClickConversion.newBuilder();

// Extracts user email and phone from the raw data, normalizes and hashes it, then wraps it in
// UserIdentifier objects.
// Creates a separate UserIdentifier object for each. The data in this example is hardcoded, but
// in your application you might read the raw data from an input file.

// IMPORTANT: Since the identifier attribute of UserIdentifier
// (https://developers.google.com/google-ads/api/reference/rpc/latest/UserIdentifier) is a
// oneof
// (https://protobuf.dev/programming-guides/proto3/#oneof-features), you must set only ONE of
// hashedEmail, hashedPhoneNumber, mobileId, thirdPartyUserId, or addressInfo. Setting more
// than one of these attributes on the same UserIdentifier will clear all the other members
// of the oneof. For example, the following code is INCORRECT and will result in a
// UserIdentifier with ONLY a hashedPhoneNumber.
//
// UserIdentifier incorrectlyPopulatedUserIdentifier =
//     UserIdentifier.newBuilder()
//         .setHashedEmail("...")
//         .setHashedPhoneNumber("...")
//         .build();

ImmutableMap.Builder<String, String> rawRecordBuilder =
    ImmutableMap.<String, String>builder()
        .put("email", "alex.2@example.com")
        // Phone number to be converted to E.164 format, with a leading '+' as required.
        .put("phone", "+1 800 5550102")
        // This example lets you put conversion details as arguments, but in reality you might
        // store this data alongside other user data, so we include it in this sample user
        // record.
        .put("conversionActionId", Long.toString(conversionActionId))
        .put("conversionDateTime", conversionDateTime)
        .put("conversionValue", Double.toString(conversionValue))
        .put("currencyCode", "USD");

// Adds entries for the optional fields.
if (orderId != null) {
  rawRecordBuilder.put("orderId", orderId);
}
if (gclid != null) {
  rawRecordBuilder.put("gclid", gclid);
}
if (adUserDataConsent != null) {
  rawRecordBuilder.put("adUserDataConsent", adUserDataConsent.name());
}
if (sessionAttributesEncoded != null) {
  rawRecordBuilder.put("sessionAttributesEncoded", sessionAttributesEncoded);
}
if (sessionAttributesMap != null) {
  rawRecordBuilder.put("sessionAttributesMap", sessionAttributesMap);
}

// Builds the map representing the record.
Map<String, String> rawRecord = rawRecordBuilder.build();

// Creates a SHA256 message digest for hashing user identifiers in a privacy-safe way, as
// described at https://support.google.com/google-ads/answer/9888656.
MessageDigest sha256Digest = MessageDigest.getInstance("SHA-256");

// Creates a list for the user identifiers.
List<UserIdentifier> userIdentifiers = new ArrayList<>();

// Creates a user identifier using the hashed email address, using the normalize and hash method
// specifically for email addresses.
UserIdentifier emailIdentifier =
    UserIdentifier.newBuilder()
        // Optional: specify the user identifier source.
        .setUserIdentifierSource(UserIdentifierSource.FIRST_PARTY)
        // Uses the normalize and hash method specifically for email addresses.
        .setHashedEmail(normalizeAndHashEmailAddress(sha256Digest, rawRecord.get("email")))
        .build();
userIdentifiers.add(emailIdentifier);

// Creates a user identifier using normalized and hashed phone info.
UserIdentifier hashedPhoneNumberIdentifier =
    UserIdentifier.newBuilder()
        .setHashedPhoneNumber(normalizeAndHash(sha256Digest, rawRecord.get("phone")))
        .build();
// Adds the hashed phone number identifier to the UserData object's list.
userIdentifiers.add(hashedPhoneNumberIdentifier);

// Adds the user identifiers to the conversion.
clickConversionBuilder.addAllUserIdentifiers(userIdentifiers);
      

সি#

// Adds a user identifier using the hashed email address, using the normalize
// and hash method specifically for email addresses.
clickConversion.UserIdentifiers.Add(new UserIdentifier()
{
    HashedEmail = NormalizeAndHashEmailAddress("alex.2@example.com"),
    // Optional: Specifies the user identifier source.
    UserIdentifierSource = UserIdentifierSource.FirstParty
});

// Adds a user identifier using normalized and hashed phone info.
clickConversion.UserIdentifiers.Add(new UserIdentifier()
{
    HashedPhoneNumber = NormalizeAndHash("+1 800 5550102"),
    // Optional: Specifies the user identifier source.
    UserIdentifierSource = UserIdentifierSource.FirstParty
});

// Adds a user identifier with all the required mailing address elements.
clickConversion.UserIdentifiers.Add(new UserIdentifier()
{
    AddressInfo = new OfflineUserAddressInfo()
    {
        // FirstName and LastName must be normalized and hashed.
        HashedFirstName = NormalizeAndHash("Alex"),
        HashedLastName = NormalizeAndHash("Quinn"),
        // CountryCode and PostalCode are sent in plain text.
        CountryCode = "US",
        PostalCode = "94045"
    }
});
      

পিএইচপি

// Creates a click conversion with the specified attributes.
$clickConversion = new ClickConversion();

// Extract user email and phone from the raw data, normalize and hash it, then wrap it in
// UserIdentifier objects. Creates a separate UserIdentifier object for each.
// The data in this example is hardcoded, but in your application you might read the raw
// data from an input file.

// IMPORTANT: Since the identifier attribute of UserIdentifier
// (https://developers.google.com/google-ads/api/reference/rpc/latest/UserIdentifier) is a
// oneof
// (https://protobuf.dev/programming-guides/proto3/#oneof-features), you must set only ONE
// of hashedEmail, hashedPhoneNumber, mobileId, thirdPartyUserId, or addressInfo. Setting
// more than one of these attributes on the same UserIdentifier will clear all the other
// members of the oneof. For example, the following code is INCORRECT and will result in a
// UserIdentifier with ONLY a hashedPhoneNumber.
//
// $incorrectlyPopulatedUserIdentifier = new UserIdentifier([
//    'hashed_email' => '...',
//    'hashed_phone_number' => '...'
// ]);

$rawRecord = [
    // Email address that includes a period (.) before the Gmail domain.
    'email' => 'alex.2@example.com',
    // Phone number to be converted to E.164 format, with a leading '+' as required.
    'phone' => '+1 800 5550102',
    // This example lets you input conversion details as arguments, but in reality you might
    // store this data alongside other user data, so we include it in this sample user
    // record.
    'orderId' => $orderId,
    'gclid' => $gclid,
    'conversionActionId' => $conversionActionId,
    'conversionDateTime' => $conversionDateTime,
    'conversionValue' => $conversionValue,
    'currencyCode' => 'USD',
    'adUserDataConsent' => $adUserDataConsent,
    'sessionAttributesEncoded' => $sessionAttributesEncoded,
    'sessionAttributesDict' => $sessionAttributesDict
];

// Creates a list for the user identifiers.
$userIdentifiers = [];

// Uses the SHA-256 hash algorithm for hashing user identifiers in a privacy-safe way, as
// described at https://support.google.com/google-ads/answer/9888656.
$hashAlgorithm = "sha256";

// Creates a user identifier using the hashed email address, using the normalize and hash
// method specifically for email addresses.
$emailIdentifier = new UserIdentifier([
    // Uses the normalize and hash method specifically for email addresses.
    'hashed_email' => self::normalizeAndHashEmailAddress(
        $hashAlgorithm,
        $rawRecord['email']
    ),
    // Optional: Specifies the user identifier source.
    'user_identifier_source' => UserIdentifierSource::FIRST_PARTY
]);
$userIdentifiers[] = $emailIdentifier;

// Checks if the record has a phone number, and if so, adds a UserIdentifier for it.
if (array_key_exists('phone', $rawRecord)) {
    $hashedPhoneNumberIdentifier = new UserIdentifier([
        'hashed_phone_number' => self::normalizeAndHash(
            $hashAlgorithm,
            $rawRecord['phone'],
            true
        )
    ]);
    // Adds the hashed email identifier to the user identifiers list.
    $userIdentifiers[] = $hashedPhoneNumberIdentifier;
}

// Adds the user identifiers to the conversion.
$clickConversion->setUserIdentifiers($userIdentifiers);
      

পাইথন

# Extract user email and phone from the raw data, normalize and hash it,
# then wrap it in UserIdentifier objects. Create a separate UserIdentifier
# object for each. The data in this example is hardcoded, but in your
# application you might read the raw data from an input file.

# IMPORTANT: Since the identifier attribute of UserIdentifier
# (https://developers.google.com/google-ads/api/reference/rpc/latest/UserIdentifier)
# is a oneof
# (https://protobuf.dev/programming-guides/proto3/#oneof-features), you must
# set only ONE of hashed_email, hashed_phone_number, mobile_id,
# third_party_user_id, or address_info. Setting more than one of these
# attributes on the same UserIdentifier will clear all the other members of
# the oneof. For example, the following code is INCORRECT and will result in
# a UserIdentifier with ONLY a hashed_phone_number:
#
# incorrectly_populated_user_identifier = client.get_type("UserIdentifier")
# incorrectly_populated_user_identifier.hashed_email = "...""
# incorrectly_populated_user_identifier.hashed_phone_number = "...""

raw_record: Dict[str, Union[str, float]] = {
    # Email address that includes a period (.) before the Gmail domain.
    "email": "alex.2@example.com",
    # Phone number to be converted to E.164 format, with a leading '+' as
    # required.
    "phone": "+1 800 5550102",
    # This example lets you input conversion details as arguments,
    # but in reality you might store this data alongside other user data,
    # so we include it in this sample user record.
    "order_id": order_id,
    "gclid": gclid,
    "conversion_action_id": conversion_action_id,
    "conversion_date_time": conversion_date_time,
    "conversion_value": conversion_value,
    "currency_code": "USD",
    "ad_user_data_consent": ad_user_data_consent,
}

# Constructs the click conversion.
click_conversion: ClickConversion = client.get_type("ClickConversion")
# Creates a user identifier using the hashed email address, using the
# normalize and hash method specifically for email addresses.
email_identifier: UserIdentifier = client.get_type("UserIdentifier")
# Optional: Specifies the user identifier source.
email_identifier.user_identifier_source = (
    client.enums.UserIdentifierSourceEnum.FIRST_PARTY
)
# Uses the normalize and hash method specifically for email addresses.
email_identifier.hashed_email = normalize_and_hash_email_address(
    raw_record["email"]
)
# Adds the user identifier to the conversion.
click_conversion.user_identifiers.append(email_identifier)

# Checks if the record has a phone number, and if so, adds a UserIdentifier
# for it.
if raw_record.get("phone") is not None:
    phone_identifier: UserIdentifier = client.get_type("UserIdentifier")
    phone_identifier.hashed_phone_number = normalize_and_hash(
        raw_record["phone"]
    )
    # Adds the phone identifier to the conversion adjustment.
    click_conversion.user_identifiers.append(phone_identifier)
      

রুবি

# Extract user email and phone from the raw data, normalize and hash it,
# then wrap it in UserIdentifier objects. Create a separate UserIdentifier
# object for each. The data in this example is hardcoded, but in your
# application you might read the raw data from an input file.

# IMPORTANT: Since the identifier attribute of UserIdentifier
# (https://developers.google.com/google-ads/api/reference/rpc/latest/UserIdentifier)
# is a oneof
# (https://protobuf.dev/programming-guides/proto3/#oneof-features), you must
# set only ONE of hashed_email, hashed_phone_number, mobile_id,
# third_party_user_id, or address_info. Setting more than one of these
# attributes on the same UserIdentifier will clear all the other members of
# the oneof. For example, the following code is INCORRECT and will result in
# a UserIdentifier with ONLY a hashed_phone_number:
#
# incorrectly_populated_user_identifier.hashed_email = "...""
# incorrectly_populated_user_identifier.hashed_phone_number = "...""

raw_record = {
  # Email address that includes a period (.) before the Gmail domain.
  "email" => "alex.2@example.com",
  # Phone number to be converted to E.164 format, with a leading '+' as
  # required.
  "phone" => "+1 800 5550102",
  # This example lets you input conversion details as arguments,
  # but in reality you might store this data alongside other user data,
  # so we include it in this sample user record.
  "order_id" => order_id,
  "gclid" => gclid,
  "conversion_action_id" => conversion_action_id,
  "conversion_date_time" => conversion_date_time,
  "conversion_value" => conversion_value,
  "currency_code" => "USD",
  "ad_user_data_consent" => ad_user_data_consent,
  "session_attributes_encoded" => session_attributes_encoded,
  "session_attributes_hash" => session_attributes_hash
}

click_conversion = client.resource.click_conversion do |cc|
  cc.conversion_action = client.path.conversion_action(customer_id, conversion_action_id)
  cc.conversion_date_time = conversion_date_time
  cc.conversion_value = conversion_value.to_f
  cc.currency_code = 'USD'

  unless order_id.nil?
    cc.order_id = order_id
  end

  unless raw_record["gclid"].nil?
    cc.gclid = gclid
  end

  # Specifies whether user consent was obtained for the data you are
  # uploading. For more details, see:
  # https://www.google.com/about/company/user-consent-policy
  unless raw_record["ad_user_data_consent"].nil?
    cc.consent = client.resource.consent do |c|
      c.ad_user_data = ad_user_data_consent
    end
  end

  # Set one of the session_attributes_encoded or
  # session_attributes_key_value_pairs fields if either are provided.
  if session_attributes_encoded != nil
    cc.class.module_eval { attr_accessor :session_attributes_encoded}
    cc.session_attributes_encoded = session_attributes_encoded
  elsif session_attributes_hash != nil
    # Add new attribute to click conversion object
    cc.class.module_eval { attr_accessor :session_attributes_key_value_pairs}
    cc.session_attributes_key_value_pairs = ::Google::Ads::GoogleAds::V19::Services::SessionAttributesKeyValuePairs.new

    # Loop thru inputted session_attributes_hash to populate session_attributes_key_value_pairs
    session_attributes_hash.each do |key, value|
      pair = ::Google::Ads::GoogleAds::V19::Services::SessionAttributeKeyValuePair.new
      pair.session_attribute_key = key
      pair.session_attribute_value = value
      cc.session_attributes_key_value_pairs.key_value_pairs << pair
    end
  end    

  # Creates a user identifier using the hashed email address, using the
  # normalize and hash method specifically for email addresses.
  # If using a phone number, use the normalize_and_hash method instead.
  cc.user_identifiers << client.resource.user_identifier do |ui|
    ui.hashed_email = normalize_and_hash_email(raw_record["email"])
    # Optional: Specifies the user identifier source.
    ui.user_identifier_source = :FIRST_PARTY
  end

  # Checks if the record has a phone number, and if so, adds a UserIdentifier
  # for it.
  unless raw_record["phone"].nil?
    cc.user_identifiers << client.resource.user_identifier do |ui|
      ui.hashed_phone_number = normalize_and_hash(raw_record["phone"])
    end
  end
end
      

পার্ল

# Create an empty click conversion.
my $click_conversion =
  Google::Ads::GoogleAds::V22::Services::ConversionUploadService::ClickConversion
  ->new({});

# Extract user email and phone from the raw data, normalize and hash it,
# then wrap it in UserIdentifier objects. Create a separate UserIdentifier
# object for each.
# The data in this example is hardcoded, but in your application
# you might read the raw data from an input file.
#
# IMPORTANT: Since the identifier attribute of UserIdentifier
# (https://developers.google.com/google-ads/api/reference/rpc/latest/UserIdentifier)
# is a oneof
# (https://protobuf.dev/programming-guides/proto3/#oneof-features), you must set
# only ONE of hashed_email, hashed_phone_number, mobile_id, third_party_user_id,
# or address-info. Setting more than one of these attributes on the same UserIdentifier
# will clear all the other members of the oneof. For example, the following code is
# INCORRECT and will result in a UserIdentifier with ONLY a hashed_phone_number:
#
# my $incorrect_user_identifier = Google::Ads::GoogleAds::V22::Common::UserIdentifier->new({
#   hashedEmail => '...',
#   hashedPhoneNumber => '...',
# });
my $raw_record = {
  # Email address that includes a period (.) before the Gmail domain.
  email => 'alex.2@example.com',
  # Phone number to be converted to E.164 format, with a leading '+' as
  # required.
  phone => '+1 800 5550102',
  # This example lets you input conversion details as arguments,
  # but in reality you might store this data alongside other user data,
  # so we include it in this sample user record.
  orderId            => $order_id,
  gclid              => $gclid,
  conversionActionId => $conversion_action_id,
  conversionDateTime => $conversion_date_time,
  conversionValue    => $conversion_value,
  currencyCode       => "USD",
  adUserDataConsent  => $ad_user_data_consent
};
my $user_identifiers = [];

# Create a user identifier using the hashed email address, using the normalize
# and hash method specifically for email addresses.
my $hashed_email = normalize_and_hash_email_address($raw_record->{email});
push(
  @$user_identifiers,
  Google::Ads::GoogleAds::V22::Common::UserIdentifier->new({
      hashedEmail => $hashed_email,
      # Optional: Specify the user identifier source.
      userIdentifierSource => FIRST_PARTY
    }));

# Create a user identifier using normalized and hashed phone info.
my $hashed_phone = normalize_and_hash($raw_record->{phone});
push(
  @$user_identifiers,
  Google::Ads::GoogleAds::V22::Common::UserIdentifier->new({
      hashedPhone => $hashed_phone,
      # Optional: Specify the user identifier source.
      userIdentifierSource => FIRST_PARTY
    }));

# Add the user identifiers to the conversion.
$click_conversion->{userIdentifiers} = $user_identifiers;
      

এই উদাহরণে দেখানো হয়েছে কিভাবে একটি ClickConversion অবজেক্টে অন্যান্য প্রয়োজনীয় ক্ষেত্র সেট করতে হয়।

জাভা

// Adds details of the conversion.
clickConversionBuilder.setConversionAction(
    ResourceNames.conversionAction(
        customerId, Long.parseLong(rawRecord.get("conversionActionId"))));
clickConversionBuilder.setConversionDateTime(rawRecord.get("conversionDateTime"));
clickConversionBuilder.setConversionValue(Double.parseDouble(rawRecord.get("conversionValue")));
clickConversionBuilder.setCurrencyCode(rawRecord.get("currencyCode"));

// Sets the order ID if provided.
if (rawRecord.containsKey("orderId")) {
  clickConversionBuilder.setOrderId(rawRecord.get("orderId"));
}

// Sets the Google click ID (gclid) if provided.
if (rawRecord.containsKey("gclid")) {
  clickConversionBuilder.setGclid(rawRecord.get("gclid"));
}

// Sets the consent information, if provided.
if (rawRecord.containsKey("adUserDataConsent")) {
  // Specifies whether user consent was obtained for the data you are uploading. See
  // https://www.google.com/about/company/user-consent-policy for details.
  clickConversionBuilder.setConsent(
      Consent.newBuilder()
          .setAdUserData(ConsentStatus.valueOf(rawRecord.get("adUserDataConsent"))));
}

// Sets one of the sessionAttributesEncoded or sessionAttributesKeyValuePairs if either is
// provided.
if (rawRecord.containsKey("sessionAttributesEncoded")) {
  clickConversionBuilder.setSessionAttributesEncoded(
      ByteString.copyFromUtf8(rawRecord.get("sessionAttributesEncoded")));
} else if (rawRecord.containsKey("sessionAttributesMap")) {
  List<String> pairings =
      Arrays.stream(rawRecord.get("sessionAttributesMap").split(" "))
          .map(String::trim)
          .collect(Collectors.toList());
  SessionAttributesKeyValuePairs.Builder sessionAttributePairs =
      SessionAttributesKeyValuePairs.newBuilder();
  for (String pair : pairings) {
    String[] parts = pair.split("=", 2);
    if (parts.length != 2) {
      throw new IllegalArgumentException(
          "Failed to read the sessionAttributesMap. SessionAttributesMap must use a "
              + "space-delimited list of session attribute key value pairs. Each pair should be"
              + " separated by an equal sign, for example: 'gad_campaignid=12345 gad_source=1'");
    }
    sessionAttributePairs.addKeyValuePairs(
        SessionAttributeKeyValuePair.newBuilder()
            .setSessionAttributeKey(parts[0])
            .setSessionAttributeValue(parts[1])
            .build());
  }
  clickConversionBuilder.setSessionAttributesKeyValuePairs(sessionAttributePairs.build());
}

// Calls build to build the conversion.
ClickConversion clickConversion = clickConversionBuilder.build();
      

সি#

// Adds details of the conversion.
clickConversion.ConversionAction =
    ResourceNames.ConversionAction(customerId, conversionActionId);
clickConversion.ConversionDateTime = conversionDateTime;
clickConversion.ConversionValue = conversionValue;
clickConversion.CurrencyCode = "USD";

// Sets the order ID if provided.
if (!string.IsNullOrEmpty(orderId))
{
    clickConversion.OrderId = orderId;
}

// Sets the Google click ID (gclid) if provided.
if (!string.IsNullOrEmpty(gclid))
{
    clickConversion.Gclid = gclid;
}

if (!string.IsNullOrEmpty(sessionAttributesEncoded))
{
    clickConversion.SessionAttributesEncoded =
        ByteString.CopyFrom(sessionAttributesEncoded, Encoding.Unicode);
}
else if (!string.IsNullOrEmpty(sessionAttributes))
{
    IEnumerable<SessionAttributeKeyValuePair> parsedSessionAttributes =
        sessionAttributes.Split(';').Select(pair => {
            string[] split = pair.Split('=');
            return new SessionAttributeKeyValuePair()
            {
                SessionAttributeKey = split[0],
                SessionAttributeValue = split[1]
            };
        });

    clickConversion.SessionAttributesKeyValuePairs =
        new SessionAttributesKeyValuePairs();
    clickConversion.SessionAttributesKeyValuePairs.KeyValuePairs
        .AddRange(parsedSessionAttributes);
}

      

পিএইচপি

// Adds details of the conversion.
$clickConversion->setConversionAction(
    ResourceNames::forConversionAction($customerId, $rawRecord['conversionActionId'])
);
$clickConversion->setConversionDateTime($rawRecord['conversionDateTime']);
$clickConversion->setConversionValue($rawRecord['conversionValue']);
$clickConversion->setCurrencyCode($rawRecord['currencyCode']);

// Sets the order ID if provided.
if (!empty($rawRecord['orderId'])) {
    $clickConversion->setOrderId($rawRecord['orderId']);
}

// Sets the Google click ID (gclid) if provided.
if (!empty($rawRecord['gclid'])) {
    $clickConversion->setGclid($rawRecord['gclid']);
}

// Sets the ad user data consent if provided.
if (!empty($rawRecord['adUserDataConsent'])) {
    // Specifies whether user consent was obtained for the data you are uploading. See
    // https://www.google.com/about/company/user-consent-policy for details.
    $clickConversion->setConsent(
        new Consent(['ad_user_data' => $rawRecord['adUserDataConsent']])
    );
}

// Set one of the sessionAttributesEncoded or
// SessionAttributeKeyValuePair fields if either are provided.
if (!empty($sessionAttributesEncoded)) {
    $clickConversion->setSessionAttributesEncoded($sessionAttributesEncoded);
} elseif (!empty($sessionAttributesDict)) {
    // Create a new container object to hold key-value pairs.
    $sessionAttributesKeyValuePairs = new SessionAttributesKeyValuePairs();
    // Initialize an array to hold individual key-value pair messages.
    $keyValuePairs = [];
    // Append each key-value pair provided to the $keyValuePairs array
    foreach ($sessionAttributesDict as $key => $value) {
        $pair = new SessionAttributeKeyValuePair();
        $pair->setSessionAttributeKey($key);
        $pair->setSessionAttributeValue($value);
        $keyValuePairs[] = $pair;
    }
    // Set the the full list of key-value pairs on the container object.
    $sessionAttributesKeyValuePairs->setKeyValuePairs($keyValuePairs);
    // Attach the container of key-value pairs to the ClickConversion object.
    $clickConversion->setSessionAttributesKeyValuePairs($sessionAttributesKeyValuePairs);
}
      

পাইথন

# Add details of the conversion.
# Gets the conversion action resource name.
conversion_action_service: ConversionActionServiceClient = (
    client.get_service("ConversionActionService")
)
click_conversion.conversion_action = (
    conversion_action_service.conversion_action_path(
        customer_id, raw_record["conversion_action_id"]
    )
)
click_conversion.conversion_date_time = raw_record["conversion_date_time"]
click_conversion.conversion_value = raw_record["conversion_value"]
click_conversion.currency_code = raw_record["currency_code"]

# Sets the order ID if provided.
if raw_record.get("order_id"):
    click_conversion.order_id = raw_record["order_id"]

# Sets the gclid if provided.
if raw_record.get("gclid"):
    click_conversion.gclid = raw_record["gclid"]

# Specifies whether user consent was obtained for the data you are
# uploading. For more details, see:
# https://www.google.com/about/company/user-consent-policy
if raw_record["ad_user_data_consent"]:
    click_conversion.consent.ad_user_data = client.enums.ConsentStatusEnum[
        raw_record["ad_user_data_consent"]
    ]

# Set one of the session_attributes_encoded or
# session_attributes_key_value_pairs fields if either are provided.
if session_attributes_encoded:
    click_conversion.session_attributes_encoded = session_attributes_encoded
elif session_attributes_dict:
    for key, value in session_attributes_dict.items():
        pair: SessionAttributeKeyValuePair = client.get_type(
            "SessionAttributeKeyValuePair"
        )
        pair.session_attribute_key = key
        pair.session_attribute_value = value
        click_conversion.session_attributes_key_value_pairs.key_value_pairs.append(
            pair
        )
      

রুবি

cc.conversion_action = client.path.conversion_action(customer_id, conversion_action_id)
cc.conversion_date_time = conversion_date_time
cc.conversion_value = conversion_value.to_f
cc.currency_code = 'USD'

unless order_id.nil?
  cc.order_id = order_id
end

unless raw_record["gclid"].nil?
  cc.gclid = gclid
end

# Specifies whether user consent was obtained for the data you are
# uploading. For more details, see:
# https://www.google.com/about/company/user-consent-policy
unless raw_record["ad_user_data_consent"].nil?
  cc.consent = client.resource.consent do |c|
    c.ad_user_data = ad_user_data_consent
  end
end

# Set one of the session_attributes_encoded or
# session_attributes_key_value_pairs fields if either are provided.
if session_attributes_encoded != nil
  cc.class.module_eval { attr_accessor :session_attributes_encoded}
  cc.session_attributes_encoded = session_attributes_encoded
elsif session_attributes_hash != nil
  # Add new attribute to click conversion object
  cc.class.module_eval { attr_accessor :session_attributes_key_value_pairs}
  cc.session_attributes_key_value_pairs = ::Google::Ads::GoogleAds::V19::Services::SessionAttributesKeyValuePairs.new

  # Loop thru inputted session_attributes_hash to populate session_attributes_key_value_pairs
  session_attributes_hash.each do |key, value|
    pair = ::Google::Ads::GoogleAds::V19::Services::SessionAttributeKeyValuePair.new
    pair.session_attribute_key = key
    pair.session_attribute_value = value
    cc.session_attributes_key_value_pairs.key_value_pairs << pair
  end
end    
      

পার্ল

# Add details of the conversion.
$click_conversion->{conversionAction} =
  Google::Ads::GoogleAds::V22::Utils::ResourceNames::conversion_action(
  $customer_id, $raw_record->{conversionActionId});
$click_conversion->{conversionDateTime} = $raw_record->{conversionDateTime};
$click_conversion->{conversionValue}    = $raw_record->{conversionValue};
$click_conversion->{currencyCode}       = $raw_record->{currencyCode};

# Set the order ID if provided.
if (defined $raw_record->{orderId}) {
  $click_conversion->{orderId} = $raw_record->{orderId};
}

# Set the Google click ID (gclid) if provided.
if (defined $raw_record->{gclid}) {
  $click_conversion->{gclid} = $raw_record->{gclid};
}

# Set the consent information, if provided.
if (defined $raw_record->{adUserDataConsent}) {
  $click_conversion->{consent} =
    Google::Ads::GoogleAds::V22::Common::Consent->new({
      adUserData => $raw_record->{adUserDataConsent}});
}

# Set one of the session_attributes_encoded or session_attributes_key_value_pairs
# fields if either are provided.
if (defined $session_attributes_encoded) {
  $click_conversion->{sessionAttributesEncoded} = $session_attributes_encoded;
} elsif (defined $session_attributes_hash) {
  while (my ($key, $value) = each %$session_attributes_hash) {
    my $pair =
      Google::Ads::GoogleAds::V22::Services::ConversionUploadService::SessionAttributeKeyValuePair
      ->new({sessionAttributeKey => $key, sessionAttributeValue => $value});
    push @{$click_conversion->{sessionAttributesKeyValuePairs}{keyValuePairs}
    }, $pair;
  }
}
      

অনুরোধটি তৈরি করুন

একবার আপনার ClickConversion অবজেক্টগুলি কনফিগার করা হয়ে গেলে এবং UploadClickConversionRequest অবজেক্টের conversions ক্ষেত্রে যোগ করা হলে, নিম্নলিখিত ক্ষেত্রগুলি সেট করুন এবং ConversionUploadServiceUploadClickConversions পদ্ধতিতে অনুরোধটি পাস করুন।

customer_id
ক্লিকের উৎস হিসেবে পরিচিত অ্যাকাউন্টের Google Ads রূপান্তর গ্রাহক হিসেবে এটি সেট করুন। যদি আপনি নিশ্চিত না হন যে কোন অ্যাকাউন্টটি সঠিক, তাহলে শুরু করার বিভাগে উদাহরণ কোয়েরিতে customer.conversion_tracking_setting.google_ads_conversion_customer ফিল্ডটি দেখুন।
job_id

অফলাইন ডেটা ডায়াগনস্টিকসে আপনার আমদানি অনুরোধগুলিকে প্রতি-কাজের তথ্যের সাথে সংযুক্ত করার জন্য একটি প্রক্রিয়া প্রদান করে।

যদি আপনি এই ক্ষেত্রটি সেট না করেন, তাহলে Google Ads API প্রতিটি অনুরোধকে [2^31, 2^63) রেঞ্জের মধ্যে একটি অনন্য মান নির্ধারণ করে। আপনি যদি একাধিক অনুরোধকে একটি একক লজিক্যাল জবে গ্রুপ করতে চান, তাহলে আপনার কাজের প্রতিটি অনুরোধে এই ক্ষেত্রটিকে [0, 2^31) রেঞ্জের একই মানের সাথে সেট করুন।

আপনি কোনও মান নির্দিষ্ট করেছেন বা Google Ads API-কে কোনও মান নির্ধারণ করতে দিয়েছেন তা নির্বিশেষে, প্রতিক্রিয়ার job_id এ অনুরোধের জন্য job ID রয়েছে।

partial_failure

রূপান্তর আমদানি করার সময় এই ক্ষেত্রটি true সেট করতে হবে। প্রতিক্রিয়া প্রক্রিয়া করার সময় আংশিক ব্যর্থতার নির্দেশিকা অনুসরণ করুন।

অনুরোধটি আমদানি করুন

একবার আপনার ClickConversion অবজেক্টগুলি পূরণ করে আপনার অনুরোধ তৈরি করে ফেললে, আপনি আপনার আমদানি জমা দিতে পারেন।

জাভা

// Creates the conversion upload service client.
try (ConversionUploadServiceClient conversionUploadServiceClient =
    googleAdsClient.getLatestVersion().createConversionUploadServiceClient()) {
  // Uploads the click conversion. Partial failure should always be set to true.

  // NOTE: This request contains a single conversion as a demonstration.  However, if you have
  // multiple conversions to upload, it's best to upload multiple conversions per request
  // instead of sending a separate request per conversion. See the following for per-request
  // limits:
  // https://developers.google.com/google-ads/api/docs/best-practices/quotas#conversion_upload_service
  UploadClickConversionsResponse response =
      conversionUploadServiceClient.uploadClickConversions(
          UploadClickConversionsRequest.newBuilder()
              .setCustomerId(Long.toString(customerId))
              .addConversions(clickConversion)
              // Enables partial failure (must be true).
              .setPartialFailure(true)
              .build());
      

সি#

// Uploads the click conversion. Partial failure should always be set to true.
// NOTE: This request contains a single conversion as a demonstration.
// However, if you have multiple conversions to upload, it's best to upload multiple
// conversions per request instead of sending a separate request per conversion.
// See the following for per-request limits:
// https://developers.google.com/google-ads/api/docs/best-practices/quotas#conversion_upload
UploadClickConversionsResponse response =
    conversionUploadService.UploadClickConversions(
        new UploadClickConversionsRequest()
        {
            CustomerId = customerId.ToString(),
            Conversions = { clickConversion },
            // Enables partial failure (must be true).
            PartialFailure = true
        });

      

পিএইচপি

// Issues a request to upload the click conversion.
$conversionUploadServiceClient = $googleAdsClient->getConversionUploadServiceClient();
// NOTE: This request contains a single conversion as a demonstration.  However, if you have
// multiple conversions to upload, it's best to upload multiple conversions per request
// instead of sending a separate request per conversion. See the following for per-request
// limits:
// https://developers.google.com/google-ads/api/docs/best-practices/quotas#conversion_upload_service
$response = $conversionUploadServiceClient->uploadClickConversions(
    // Enables partial failure (must be true).
    UploadClickConversionsRequest::build($customerId, [$clickConversion], true)
);
      

পাইথন

# Creates the conversion upload service client.
conversion_upload_service: ConversionUploadServiceClient = (
    client.get_service("ConversionUploadService")
)
# Uploads the click conversion. Partial failure should always be set to
# True.
# NOTE: This request only uploads a single conversion, but if you have
# multiple conversions to upload, it's most efficient to upload them in a
# single request. See the following for per-request limits for reference:
# https://developers.google.com/google-ads/api/docs/best-practices/quotas#conversion_upload_service
response: UploadClickConversionsResponse = (
    conversion_upload_service.upload_click_conversions(
        customer_id=customer_id,
        conversions=[click_conversion],
        # Enables partial failure (must be true).
        partial_failure=True,
    )
)
      

রুবি

response = client.service.conversion_upload.upload_click_conversions(
  customer_id: customer_id,
  conversions: [click_conversion],
  # Partial failure must be true.
  partial_failure: true,
)

if response.partial_failure_error
  puts "Partial failure encountered: #{response.partial_failure_error.message}"
else
  result = response.results.first
  puts "Uploaded click conversion that happened at #{result.conversion_date_time} " \
    "to #{result.conversion_action}."
end
      

পার্ল

# Upload the click conversion. Partial failure should always be set to true.
#
# NOTE: This request contains a single conversion as a demonstration.
# However, if you have multiple conversions to upload, it's best to
# upload multiple conversions per request instead of sending a separate
# request per conversion. See the following for per-request limits:
# https://developers.google.com/google-ads/api/docs/best-practices/quotas#conversion_upload_service
my $response =
  $api_client->ConversionUploadService()->upload_click_conversions({
    customerId  => $customer_id,
    conversions => [$click_conversion],
    # Enable partial failure (must be true).
    partialFailure => "true"
  });
      

আপনার আমদানি পর্যালোচনা করুন

আপনার সাম্প্রতিক আমদানির সামগ্রিক অবস্থা পর্যালোচনা করতে লিডস ডায়াগনস্টিকস রিপোর্টের জন্য উন্নত রূপান্তরগুলি ব্যবহার করুন।

আমদানি করা রূপান্তরগুলি মূল ক্লিকের ইম্প্রেশন তারিখের প্রতিবেদনে প্রতিফলিত হয়, আমদানি অনুরোধের তারিখ বা ClickConversion এর conversion_date_time তারিখে নয়।

শেষ ক্লিক অ্যাট্রিবিউশনের জন্য আপনার Google বিজ্ঞাপন অ্যাকাউন্টে আমদানি করা রূপান্তর পরিসংখ্যান প্রদর্শিত হতে তিন ঘন্টা পর্যন্ত সময় লাগে। অন্যান্য অনুসন্ধান অ্যাট্রিবিউশন মডেলের জন্য, এটি তিন ঘন্টারও বেশি সময় নিতে পারে। আরও তথ্যের জন্য ডেটা ফ্রেশনেস গাইডটি দেখুন।

আপনার প্রচারাভিযানের জন্য রূপান্তর মেট্রিক্সের প্রতিবেদন করার সময়, Google বিজ্ঞাপন API রিপোর্টিং ফিল্ডের সাথে Google বিজ্ঞাপন UI মেট্রিক্সের সম্পর্ক স্থাপন করতে ম্যাপিং ইউজার ইন্টারফেস মেট্রিক্স দেখুন। আপনি রূপান্তরের মোট সংখ্যা এবং একটি প্রদত্ত রূপান্তর কর্মের জন্য মোট রূপান্তর মান দেখতে conversion_action রিসোর্সটিও জিজ্ঞাসা করতে পারেন।

সেরা অনুশীলন

লিডের জন্য উন্নত রূপান্তর বাস্তবায়নের সময় নিম্নলিখিত সেরা অনুশীলনগুলি মনে রাখবেন।

সম্পূর্ণতা নির্বিশেষে সমস্ত রূপান্তর ডেটা পাঠান

সম্পূর্ণ এবং নির্ভুল রূপান্তর প্রতিবেদন নিশ্চিত করতে, সমস্ত উপলব্ধ অফলাইন রূপান্তর ইভেন্ট আমদানি করুন, যার মধ্যে এমনগুলিও রয়েছে যা Google বিজ্ঞাপন থেকে নাও আসতে পারে। শুধুমাত্র ব্যবহারকারীর দ্বারা সরবরাহিত ডেটা অন্তর্ভুক্ত রূপান্তরগুলি এখনও কার্যকর এবং Google বিজ্ঞাপন প্রচারণা অপ্টিমাইজেশনে ইতিবাচক অবদান রাখতে পারে।

যদি আপনি কোনও রূপান্তরের জন্য একটি order_id বরাদ্দ করেন, তাহলে আমরা এটি অন্তর্ভুক্ত করার পরামর্শ দিচ্ছি। যদি আপনার কাছে রূপান্তরের জন্য GCLID থাকে, তাহলে উন্নত কর্মক্ষমতার জন্য আমরা এটি user_identifiers এর সাথে পাঠানোর পরামর্শ দিচ্ছি। অধিকন্তু, যদি আপনার কাছে রূপান্তরের জন্য একাধিক UserIdentifier থাকে, তাহলে মিলের সম্ভাবনা বাড়ানোর জন্য ClickConversion অবজেক্টে সেগুলি অন্তর্ভুক্ত করুন।

একটি একক অনুরোধে একাধিক রূপান্তর ব্যাচ করুন

যদি আপনার একাধিক রূপান্তর আমদানি করতে হয়, তাহলে প্রতিটি রূপান্তরের জন্য একটি আমদানি অনুরোধ পাঠানোর পরিবর্তে রূপান্তরগুলিকে একটি UploadClickConversionsRequest এ ব্যাচ করুন।

প্রতি অনুরোধে রূপান্তরের সংখ্যার সীমা জানতে কোটা নির্দেশিকাটি দেখুন।

যদি আপনি চান যে অফলাইন ডেটা ডায়াগনস্টিকস একই লজিক্যাল জবের অধীনে অনুরোধের একটি সেটকে গ্রুপ করে, তাহলে সমস্ত অনুরোধের job_id একই মানে সেট করুন। এটি কার্যকর হতে পারে যদি আপনার একটি একক কাজ বা প্রক্রিয়া থাকে যা একাধিক অনুরোধ ব্যবহার করে প্রচুর সংখ্যক রূপান্তর আমদানি করে। আপনি যদি সেই প্রতিটি অনুরোধের job_id একই মানে সেট করেন, তাহলে আপনি job_summaries থেকে কাজের জন্য একটি একক এন্ট্রি পুনরুদ্ধার করতে পারবেন। এর পরিবর্তে যদি আপনি Google Ads API কে প্রতিটি অনুরোধের job_id এ একটি সিস্টেম-জেনারেটেড মান নির্ধারণ করতে দেন, তাহলে job_summaries এ প্রতিটি অনুরোধের জন্য একটি পৃথক এন্ট্রি থাকে, যা আপনার কাজের সামগ্রিক স্বাস্থ্য বিশ্লেষণকে আরও চ্যালেঞ্জিং করে তুলতে পারে।

বাহ্যিক অ্যাট্রিবিউশন ডেটা ব্যবহার করবেন না

লিডের জন্য উন্নত রূপান্তর ব্যবহার করার সময়, ClickConversionexternal_attribution_data সেট করবেন না অথবা এমন একটি conversion_action নির্দিষ্ট করবেন না যা একটি বহিরাগত অ্যাট্রিবিউশন মডেল ব্যবহার করে। ব্যবহারকারীর সরবরাহিত ডেটা ব্যবহার করে আমদানির জন্য Google Ads বহিরাগতভাবে অ্যাট্রিবিউট করা রূপান্তর সমর্থন করে না।

কাস্টম ভেরিয়েবল অন্তর্ভুক্ত করবেন না

লিডের জন্য উন্নত রূপান্তর ব্যবহার করার সময়, কোনও custom_variables অন্তর্ভুক্ত করবেন না। Google Ads রূপান্তর আমদানিতে ব্যবহারকারী-প্রদত্ত ডেটা সহ কাস্টম ভেরিয়েবল ব্যবহার সমর্থন করে না। যদি কাস্টম ভেরিয়েবলগুলি ব্যবহারকারী-প্রদত্ত ডেটা ধারণকারী রূপান্তরগুলির সাথে অন্তর্ভুক্ত করা হয়, তাহলে সেই রূপান্তরগুলি অবৈধ বলে বিবেচিত হবে এবং বাদ দেওয়া হবে।

সমস্যা সমাধান

অফলাইন ডেটা ডায়াগনস্টিকস আপনার আমদানির সামগ্রিক অবস্থা ক্রমাগত পর্যালোচনা করার জন্য একটি একক সংস্থান প্রদান করে। তবে, বাস্তবায়নের সময় আপনি প্রতিক্রিয়ার partial_failure_error ক্ষেত্রে রিপোর্ট করা যেকোনো ত্রুটি তদন্ত করতে এই বিভাগের তথ্য ব্যবহার করতে পারেন।

রূপান্তর ক্রিয়াগুলি আমদানি করার সময় সবচেয়ে সাধারণ ত্রুটিগুলির মধ্যে কিছু হল অনুমোদন ত্রুটি, যেমন USER_PERMISSION_DENIED । আপনার অনুরোধে গ্রাহক আইডিটি Google বিজ্ঞাপন রূপান্তর গ্রাহকের জন্য সেট করা আছে কিনা তা দুবার পরীক্ষা করে দেখুন যিনি রূপান্তর ক্রিয়াটির মালিক। আরও বিস্তারিত জানার জন্য আমাদের অনুমোদন নির্দেশিকা দেখুন এবং এই বিভিন্ন ত্রুটিগুলি কীভাবে ডিবাগ করবেন সে সম্পর্কে টিপস পেতে আমাদের সাধারণ ত্রুটি নির্দেশিকা দেখুন।

সাধারণ ত্রুটিগুলি ডিবাগ করুন

ত্রুটি
NO_CONVERSION_ACTION_FOUND

নির্দিষ্ট রূপান্তর ক্রিয়াটি হয় সক্রিয় করা নেই, অথবা অনুরোধে `client_id` ক্ষেত্রের দ্বারা নির্দিষ্ট করা ক্লায়েন্ট অ্যাকাউন্ট দ্বারা অ্যাক্সেস করা যাবে না। নিশ্চিত করুন যে আপনার আপলোডে রূপান্তর ক্রিয়াটি সক্রিয় আছে এবং আপলোড অনুরোধ প্রেরণকারী গ্রাহকের মালিকানাধীন।

এই ত্রুটিটি তখনও ঘটতে পারে যখন অনুরোধে থাকা GCLID এমন কোনও ক্লায়েন্ট অ্যাকাউন্টের হয় যার অনুরোধে উল্লেখিত রূপান্তর অ্যাকশনে অ্যাক্সেস নেই। আপনি click_view রিসোর্স ব্যবহার করে click_view.gclid এবং segments.date দ্বারা ফিল্টার করা একটি কোয়েরি জমা দিয়ে যাচাই করতে পারেন, যেখানে তারিখটি ক্লিক হওয়ার তারিখ।

INVALID_CONVERSION_ACTION_TYPE নির্দিষ্ট রূপান্তর অ্যাকশনের এমন একটি ধরণ আছে যা লিডের জন্য উন্নত রূপান্তরের জন্য বৈধ নয়। আপনার আপলোড অনুরোধে উল্লেখিত ConversionActionUPLOAD_CLICKS টাইপ আছে কিনা তা নিশ্চিত করুন।
CUSTOMER_NOT_ENABLED_ENHANCED_CONVERSIONS_FOR_LEADS আপনার কনভার্সন সেটিংসে লিডের জন্য উন্নত কনভার্সন সক্ষম করেছেন কিনা তা নিশ্চিত করুন। পূর্বশর্ত নির্দেশিকাতে এর জন্য নির্দেশাবলী খুঁজুন।
DUPLICATE_ORDER_ID আমদানি করা ইভেন্টগুলিতে একই অর্ডার আইডি সহ একাধিক রূপান্তর অন্তর্ভুক্ত থাকে এবং প্রক্রিয়া করা হয়নি। অর্ডার আইডিগুলি অনন্য কিনা তা নিশ্চিত করুন এবং আবার চেষ্টা করুন।
CLICK_NOT_FOUND প্রদত্ত ব্যবহারকারী শনাক্তকারীর সাথে মেলে এমন কোনও ক্লিক পাওয়া যায়নি। Google Ads API শুধুমাত্র তখনই এই ত্রুটিটি ফেরত দেয় যদি UploadClickConversionsRequestdebug_enabled true হয়।

যদি কোনও রূপান্তর এই সতর্কতার সম্মুখীন হয়, তাহলে Google Ads API আপনার অফলাইন ডেটা ডায়াগনস্টিকসের successful_event_count এ এটি অন্তর্ভুক্ত করে। Google Ads API alerts সংগ্রহে CLICK_NOT_FOUND এর জন্য একটি এন্ট্রি অন্তর্ভুক্ত করে যাতে আপনি এই সতর্কতার ফ্রিকোয়েন্সি নিরীক্ষণ করতে পারেন।

যদি ক্লিকটি কোনও Google বিজ্ঞাপন প্রচারণা থেকে না হয় তবে এই ত্রুটিটি প্রত্যাশিত। উদাহরণস্বরূপ, এটি SA360 বা DV360 থেকে আসতে পারে। অন্যান্য সম্ভাব্য কারণগুলি নিম্নরূপ:

বিরল ক্ষেত্রে যেখানে আপলোডকারী গ্রাহক Google বিজ্ঞাপন রূপান্তরকারী গ্রাহকের থেকে আলাদা, এই ত্রুটির অর্থ হতে পারে যে আপলোডকারী গ্রাহক গ্রাহকের ডেটা শর্তাবলী মেনে নিয়েছেন, কিন্তু পরিবেশনকারী গ্রাহক তা করেননি।

কোনও অ্যাকাউন্ট গ্রাহক ডেটা শর্তাবলী গ্রহণ করেছে কিনা তা আপনি customer রিসোর্স অনুসন্ধান করে এবং customer.offline_conversion_tracking_info.accepted_customer_data_terms ক্ষেত্রটি পরীক্ষা করে নির্ধারণ করতে পারেন।