বিজ্ঞাপনদাতার পরিচয় যাচাইকরণ

ব্যবহারকারীদের জন্য একটি নিরাপদ এবং বিশ্বস্ত বিজ্ঞাপন ইকোসিস্টেম প্রদান করতে এবং উদীয়মান প্রবিধান মেনে চলতে, Google এখন বিজ্ঞাপনদাতাদের এক বা একাধিক যাচাইকরণ প্রোগ্রাম সম্পূর্ণ করতে চায়৷

আপনার যদি একটি যাচাইকরণ প্রোগ্রাম সম্পূর্ণ করার প্রয়োজন হয়, তাহলে যাচাইকরণ প্রক্রিয়ার জন্য একটি সময়সীমা সেট করা হতে পারে। যদি যাচাইকরণ সম্পূর্ণ না করেই সময়সীমা অতিক্রম করা হয়, তাহলে আপনার অ্যাকাউন্ট পজ করা হতে পারে।

আপনি এটি করার প্রয়োজন ছাড়াই সক্রিয়ভাবে যাচাইকরণের মধ্য দিয়ে যেতে পারেন। IdentityVerificationService নিম্নলিখিতগুলি করার পদ্ধতিগুলি অফার করে:

  • যেকোনো সময়সীমা সহ একটি গ্রাহক অ্যাকাউন্টের জন্য যাচাইকরণ প্রক্রিয়ার স্থিতি পুনরুদ্ধার করুন
  • একটি যাচাইকরণ প্রক্রিয়া শুরু করুন

যাচাই অবস্থা পুনরুদ্ধার করুন

একটি গ্রাহক অ্যাকাউন্টের জন্য বিজ্ঞাপনদাতার পরিচয় যাচাইকরণ প্রক্রিয়ার স্থিতি পুনরুদ্ধার করতে, GetIdentityVerification পদ্ধতিতে কল করুন:

জাভা

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

সি#

private static IdentityVerification GetIdentityVerification(
        GoogleAdsClient client, long customerId)
{
    IdentityVerificationServiceClient identityVerificationService =
        client.GetService(Services.V16.IdentityVerificationService);

    try {
        GetIdentityVerificationResponse response =
            identityVerificationService.GetIdentityVerification(
                new GetIdentityVerificationRequest()
                {
                    CustomerId = customerId.ToString()
                }
            );

            if (response.IdentityVerification.Count == 0)
            {
                return null;
            }

            IdentityVerification identityVerification = response.IdentityVerification[0];
            string deadline =
                identityVerification.IdentityVerificationRequirement.VerificationCompletionDeadlineTime;
             IdentityVerificationProgress identityVerificationProgress =
                identityVerification.VerificationProgress;
            Console.WriteLine($"Account {customerId} has a verification completion " +
                $"deadline of {deadline} and status " +
                $"{identityVerificationProgress.ProgramStatus} for advertiser identity " +
                "verification.");

            return identityVerification;
    } catch (GoogleAdsException e)
    {
        Console.WriteLine("Failure:");
        Console.WriteLine($"Message: {e.Message}");
        Console.WriteLine($"Failure: {e.Failure}");
        Console.WriteLine($"Request ID: {e.RequestId}");
        throw;
    }


}
      

পিএইচপি

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

পাইথন

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

রুবি

def get_identity_verification(client, customer_id)
  response = client.service.identity_verification.get_identity_verification(
    customer_id: customer_id
  )

  return nil if response.nil? || response.identity_verification.empty?

  identity_verification = response.identity_verification.first
  deadline = identity_verification.
    identity_verification_requirement.
    verification_completion_deadline_time
  progress = identity_verification.verification_progress
  puts "Account #{customer_id} has a verification completion deadline " \
    "of #{deadline} and status #{progress.program_status} for advertiser " \
    "identity verification."

  identity_verification
end
      

পার্ল

sub get_identity_verification {
  my ($api_client, $customer_id) = @_;

  my $response = $api_client->IdentityVerificationService()->get({
    customerId => $customer_id
  });

  if (!defined $response->{identityVerification}) {
    printf "Account %s does not require advertiser identity verification.",
      $customer_id;
    return;
  }

  my $identity_verification = $response->{identityVerification}[0];
  my $deadline = $identity_verification->{identityVerificationRequirement}
    {verificationCompletionDeadlineTime};
  my $identity_verification_progress =
    $identity_verification->{verificationProgress};

  printf "Account %s has a verification completion deadline of %s and status " .
    "%s for advertiser identity verification.", $customer_id, $deadline,
    $identity_verification_progress->{programStatus};
  return $identity_verification;
}
      

গ্রাহক অ্যাকাউন্ট বাধ্যতামূলক বিজ্ঞাপনদাতা পরিচয় যাচাইকরণ প্রোগ্রামে নথিভুক্ত হলে, পরিষেবাটি IdentityVerification অবজেক্টের একটি তালিকা সম্বলিত একটি অ-খালি প্রতিক্রিয়া প্রদান করে। একটি খালি প্রতিক্রিয়া নির্দেশ করে যে গ্রাহক অ্যাকাউন্টের বিজ্ঞাপনদাতার পরিচয় যাচাইকরণের প্রয়োজন নেই।

v16 অনুযায়ী, Google Ads API শুধুমাত্র ADVERTISER_IDENTITY_VERIFICATION প্রোগ্রামকে সমর্থন করে, তাই এটিই তালিকার একমাত্র আইটেম হবে।

একটি IdentityVerification অবজেক্টে নিম্নলিখিত বৈশিষ্ট্য রয়েছে:

  • একটি IdentityVerificationRequirement যা যাচাইকরণ প্রক্রিয়া শুরু করার এবং সম্পূর্ণ করার সময়সীমা বর্ণনা করে

  • যাচাইকরণ প্রক্রিয়ার বর্তমান অবস্থা বর্ণনা করে একটি IdentityVerificationProgress : এতে ব্যবহারকারীর যাচাইকরণ প্রক্রিয়া সম্পূর্ণ করার জন্য অ্যাকশন URLও অন্তর্ভুক্ত থাকতে পারে।

যাচাইকরণ প্রক্রিয়া শুরু করুন

যদি একটি গ্রাহক অ্যাকাউন্ট বাধ্যতামূলক বিজ্ঞাপনদাতার পরিচয় যাচাইকরণ প্রোগ্রামে নথিভুক্ত করা হয় — GetIdentityVerification যাচাইকরণ প্রক্রিয়া সমাপ্তির জন্য একটি নির্দিষ্ট সময়সীমা সহ একটি খালি প্রতিক্রিয়া ফেরত দেয়, আপনি StartIdentityVerification কল করে একটি যাচাইকরণ সেশন শুরু করতে পারেন:

জাভা

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

সি#

private static void StartIdentityVerification(GoogleAdsClient client, long customerId)
{
    IdentityVerificationServiceClient identityVerificationService =
        client.GetService(Services.V16.IdentityVerificationService);

    StartIdentityVerificationRequest request = new StartIdentityVerificationRequest()
    {
        CustomerId = customerId.ToString(),
        VerificationProgram = IdentityVerificationProgram.AdvertiserIdentityVerification
    };

    try {
        identityVerificationService.StartIdentityVerification(request);
    } catch (GoogleAdsException e)
    {
        Console.WriteLine("Failure:");
        Console.WriteLine($"Message: {e.Message}");
        Console.WriteLine($"Failure: {e.Failure}");
        Console.WriteLine($"Request ID: {e.RequestId}");
        throw;
    }
}
      

পিএইচপি

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

পাইথন

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

রুবি

def start_identity_verification(client, customer_id)
  client.service.identity_verification.start_identity_verification(
    customer_id: customer_id,
    verification_program: :ADVERTISER_IDENTITY_VERIFICATION,
  )
end
      

পার্ল

sub start_identity_verification {
  my ($api_client, $customer_id) = @_;

  my $request =
    Google::Ads::GoogleAds::V16::Services::IdentityVerificationService::StartIdentityVerificationRequest
    ->new({
      customerId          => $customer_id,
      verificationProgram => ADVERTISER_IDENTITY_VERIFICATION
    });

  $api_client->AdvertiserIdentityVerificationService()
    ->start_identity_verification($request);
}
      

এটি শুধুমাত্র তখনই সফল হবে যদি অন্য যাচাইকরণ সেশন প্রগতিতে না থাকে; একবার আপনি একটি যাচাইকরণ সেশন শুরু করলে, পরবর্তীতে GetIdentityVerification এ করা কলগুলি ব্যবহারকারীর যাচাইকরণ প্রক্রিয়া সম্পূর্ণ করার জন্য অ্যাকশন URL এবং অ্যাকশন URL-এর মেয়াদ শেষ হওয়ার সময় ফেরত দেবে।

মেয়াদ শেষ হওয়ার পরে, আপনি একটি নতুন যাচাইকরণ সেশন শুরু করতে আবার StartIdentityVerification কল করতে পারেন।