নেটওয়ার্ক ট্রেসিং
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
প্ল্যাটফর্ম নির্বাচন করুন: Android iOS নেটওয়ার্ক ট্রেসিং আপনাকে Google মোবাইল বিজ্ঞাপন SDK-এর সাথে সম্পর্কিত নেটওয়ার্ক কার্যকলাপগুলি দেখতে দেয়৷ এটি আপনার Google মোবাইল বিজ্ঞাপন বাস্তবায়ন ডিবাগ করতে কার্যকর হতে পারে।
চার্লস প্রক্সির মতো সরঞ্জামগুলির পরিবর্তে নেটওয়ার্ক ট্রেসিং ব্যবহার করার একটি মূল কারণ হল এটি কোনও তৃতীয় পক্ষের নিরাপত্তা শংসাপত্র প্রোফাইলগুলিকে বিশ্বাস না করেই সমস্ত iOS সংস্করণ এবং ডিভাইসগুলিতে কাজ করবে৷ আইওএস 10.3 থেকে প্রক্সি করার সরঞ্জামগুলির কারণে সার্টিফিকেট প্রোফাইল প্রয়োজনীয়তার ক্ষেত্রে এটি হয় না।
এই নির্দেশিকা ব্যাখ্যা করে কিভাবে ডিবাগিং উদ্দেশ্যে নেটওয়ার্ক ট্রেসিং সক্ষম করতে হয়।
ট্রেসিং সক্ষম করুন
নেটওয়ার্ক ট্রেসিং সক্ষম করতে, আপনার প্লিস্ট ফাইলে GADEnableNetworkTracing
কীটি YES
সেট করুন৷
নেটওয়ার্ক ট্রেসিং সক্ষম হলে, Google মোবাইল বিজ্ঞাপন SDK কনসোলে নেটওয়ার্ক ইভেন্টগুলি লগ করে। তারপরে আপনি বিকাশকারী ফোরামে একটি ব্যক্তিগত উত্তর হিসাবে বিশ্লেষণের জন্য আমাদের ইঞ্জিনিয়ারদের লগগুলির অনুলিপি সরবরাহ করতে পারেন৷
লগিং
স্ট্যান্ডার্ড প্ল্যাটফর্ম-উপযুক্ত কনসোল লগগুলি নেটওয়ার্ক লগগুলি আউটপুট করতে ব্যবহৃত হয়।
কনসোল লগ বার্তাগুলি সর্বদা GMA Debug BEGIN
, GMA Debug CONTENT
, বা GMA Debug FINISH
স্ট্রিং দিয়ে শুরু হয় যাতে এটি অনুসন্ধান করা বা ফিল্টার করা যায়৷ প্রতিটি নেটওয়ার্ক লগের জন্য, প্রথম লগ বার্তাটি হল GMA Debug BEGIN
, শেষ লগ বার্তাটি হল GMA Debug FINISH
, এবং নেটওয়ার্ক লগ সামগ্রীটি GMA Debug CONTENT
দিয়ে শুরু হয়৷ যদি একটি নেটওয়ার্ক লগ বিষয়বস্তু একটি লাইনে ফিট করার জন্য খুব দীর্ঘ হয়, তবে এটি একাধিক লাইনের মধ্যে বিভক্ত হয়, প্রতিটি লাইন GMA Debug CONTENT
দিয়ে শুরু হয়।
নমুনা আউটপুট
<Your App Name>[2710:30568] <Google> GMA Debug BEGIN
2017-12-06 09:47:09.268020-0800 <Your App Name>[2710:30568] <Google> GMA Debug CONTENT: {
"components" : [
"network_request_31107D12-E54E-45D6-AEA9-4A303C659EDF"
],
"timestamp" : 1512582429267.2629,
"event" : "onNetworkRequest",
"params" : {
"firstline" : {
"uri" : "<encoded text>",
"verb" : "<encoded text>"
},
"headers" : [
{
"name" : "<encoded text>",
"value" : "<encoded text>"
}
]
}
}
2017-12-06 09:47:09.275742-0800 <Your App Name>[2710:30568] <Google> GMA Debug FINISH
তারপরে আপনি বিশ্লেষণের জন্য আমাদের ইঞ্জিনিয়ারদের লগগুলির কপি প্রদান করতে পারেন।
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-09-03 UTC-তে শেষবার আপডেট করা হয়েছে।
[[["সহজে বোঝা যায়","easyToUnderstand","thumb-up"],["আমার সমস্যার সমাধান হয়েছে","solvedMyProblem","thumb-up"],["অন্যান্য","otherUp","thumb-up"]],[["এতে আমার প্রয়োজনীয় তথ্য নেই","missingTheInformationINeed","thumb-down"],["খুব জটিল / অনেক ধাপ","tooComplicatedTooManySteps","thumb-down"],["পুরনো","outOfDate","thumb-down"],["অনুবাদ সংক্রান্ত সমস্যা","translationIssue","thumb-down"],["নমুনা / কোড সংক্রান্ত সমস্যা","samplesCodeIssue","thumb-down"],["অন্যান্য","otherDown","thumb-down"]],["2025-09-03 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eNetwork tracing allows debugging of the Google Mobile Ads SDK by revealing network activities.\u003c/p\u003e\n"],["\u003cp\u003eIt works on all iOS versions and devices without needing third-party security certificate profiles, unlike proxying tools.\u003c/p\u003e\n"],["\u003cp\u003eTo enable, set the \u003ccode\u003eGADEnableNetworkTracing\u003c/code\u003e key to \u003ccode\u003eYES\u003c/code\u003e in your app's plist file.\u003c/p\u003e\n"],["\u003cp\u003eNetwork event logs are output to the console, starting with "GMA Debug BEGIN" and ending with "GMA Debug FINISH".\u003c/p\u003e\n"],["\u003cp\u003eShare the console logs with Google engineers for analysis to help with debugging.\u003c/p\u003e\n"]]],["Network tracing, used for debugging the Google Mobile Ads SDK, works on all iOS versions without needing third-party security certificates. To enable it, set `GADEnableNetworkTracing` to `YES` in your plist file. Network events are logged to the console, with messages starting with `GMA Debug BEGIN`, `GMA Debug CONTENT`, or `GMA Debug FINISH`. These logs can then be provided to engineers for analysis via the developer forum. Each network log includes content, timestamp, and event parameters.\n"],null,["Select platform: [Android](/admob/android/network-tracing \"View this page for the Android platform docs.\") [iOS](/admob/ios/network-tracing \"View this page for the iOS platform docs.\")\n\n\u003cbr /\u003e\n\nNetwork tracing lets you see network activities relating to\nGoogle Mobile Ads SDK. This can be useful in debugging your Google Mobile Ads\nimplementation.\n\nA key reason to use network tracing instead of tools such as [Charles\nProxy](//www.charlesproxy.com) is that it will work on **all** iOS versions and\ndevices without trusting any third party security certificate profiles. This is\nnot the case with proxying tools due [certificate profile\nrequirements](https://support.apple.com/en-nz/HT204477) in place since iOS 10.3.\n\nThis guide explains how to enable network tracing for debugging purposes.\n\nEnable tracing\n\nTo enable network tracing, set the `GADEnableNetworkTracing` key to `YES` in\nyour plist file.\n\nWhen network tracing is enabled, Google Mobile Ads SDK logs network events\nto the console. You can then provide copies of the logs to our engineers for\nanalysis as a private reply on the [developer\nforum](//groups.google.com/forum/#!forum/google-admob-ads-sdk).\n\nLogging\n\nStandard platform-appropriate console logs are used to output the network logs.\n\nConsole log messages always begin with the string `GMA Debug BEGIN`,\n`GMA Debug CONTENT`, or `GMA Debug FINISH` so that it can be searched for or\nfiltered out. For each network log, the first log message is `GMA Debug BEGIN`,\nthe last log message is `GMA Debug FINISH`, and the network log content begins\nwith `GMA Debug CONTENT`. If a network log content is too long to fit on a line,\nit is split among multiple lines, each line beginning with `GMA Debug CONTENT`.\n\nSample output \n\n \u003cYour App Name\u003e[2710:30568] \u003cGoogle\u003e GMA Debug BEGIN\n 2017-12-06 09:47:09.268020-0800 \u003cYour App Name\u003e[2710:30568] \u003cGoogle\u003e GMA Debug CONTENT: {\n \"components\" : [\n \"network_request_31107D12-E54E-45D6-AEA9-4A303C659EDF\"\n ],\n \"timestamp\" : 1512582429267.2629,\n \"event\" : \"onNetworkRequest\",\n \"params\" : {\n \"firstline\" : {\n \"uri\" : \"\u003cencoded text\u003e\",\n \"verb\" : \"\u003cencoded text\u003e\"\n },\n \"headers\" : [\n {\n \"name\" : \"\u003cencoded text\u003e\",\n \"value\" : \"\u003cencoded text\u003e\"\n }\n ]\n }\n }\n 2017-12-06 09:47:09.275742-0800 \u003cYour App Name\u003e[2710:30568] \u003cGoogle\u003e GMA Debug FINISH\n\nYou can then [provide copies of the logs to our\nengineers](//groups.google.com/forum/#!forum/google-admob-ads-sdk) for analysis."]]