সতর্কতা: আপনি API এর REST ইন্টারফেসের জন্য ডকুমেন্টেশন দেখছেন। আমাদের বেশিরভাগ অফিসিয়াল ক্লায়েন্ট লাইব্রেরি জিআরপিসি ব্যবহার করে। বিস্তারিত জানার জন্য
REST ভূমিকা দেখুন।
পরিষেবা পদ্ধতি
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
Google Ads API-এর ডিজাইন একটি প্রথাগত REST আর্কিটেকচার থেকে আলাদা কারণ এটি প্রাথমিকভাবে কাস্টম পদ্ধতি ব্যবহার করে, যেমন search
এবং mutate,
এর পরিবর্তে আরও প্রথাগত list
, get
, create
, update
, এবং delete
methods. এই ক্রিয়াগুলিকে REST URL-এ প্রকাশ করা হয় a :
এর HTTP ম্যাপিং কনভেনশন ব্যবহার করে বাকি URL থেকে কাস্টম ক্রিয়াকে আলাদা করতে।
উদাহরণস্বরূপ, একটি প্রচারাভিযান পরিবর্তিত API কল নিম্নলিখিত URL ব্যবহার করে:
https://googleads.googleapis.com/v21/customers/1234567890/campaigns:mutate
API কাস্টম পদ্ধতি ব্যবহার করার একটি কারণ হল একটি একক API অনুরোধে একাধিক অপারেশনের ব্যাচিং সক্ষম করা। কঠোর REST শব্দার্থবিদ্যা শুধুমাত্র একবারে একটি প্রচারাভিযান আপডেট করার অনুমতি দেবে। একটি প্রচারাভিযানের একটি ঐতিহ্যগত REST update
, উদাহরণস্বরূপ, প্রচারাভিযানের সংস্থান প্রতি একটি HTTP প্যাচ অনুরোধ পাঠাতে হবে।
একটি অনুরোধের বডির মধ্যে অনেকগুলি ক্রিয়াকলাপ একসাথে বান্ডিল করার অনুমতি দেওয়ার জন্য, Google বিজ্ঞাপন API এর পরিবর্তে বেশিরভাগ সংস্থানের জন্য একটি কাস্টম mutate
পদ্ধতি সংজ্ঞায়িত করে। একইভাবে, এপিআই থেকে ব্যাচ রিডস সক্ষম করতে (একবারে অনেকগুলি বস্তু আনা) এপিআই একটি SQL-এর মতো Google বিজ্ঞাপন ক্যোয়ারী ল্যাঙ্গুয়েজ সহ একটি কাস্টম search
পদ্ধতি ব্যবহার করে।
সাধারণ পদ্ধতির পৃষ্ঠাটি Google বিজ্ঞাপন API-এ সর্বাধিক ব্যবহৃত পদ্ধতিগুলির বিশদ বিবরণ দেয়।
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-08-26 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-08-26 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eThe Google Ads API utilizes custom methods like \u003ccode\u003esearch\u003c/code\u003e and \u003ccode\u003emutate\u003c/code\u003e instead of standard REST methods for efficiency and batch operations.\u003c/p\u003e\n"],["\u003cp\u003eThis approach allows for updating multiple campaigns or fetching numerous objects within a single request, unlike traditional REST.\u003c/p\u003e\n"],["\u003cp\u003eCustom methods are expressed in REST URLs using a colon to separate the verb from the rest of the URL, for example, \u003ccode\u003ehttps://googleads.googleapis.com/v18/customers/1234567890/campaigns:mutate\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eBatching operations, like updating many campaigns simultaneously, are enabled through the custom \u003ccode\u003emutate\u003c/code\u003e method, improving efficiency over individual requests.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003esearch\u003c/code\u003e method uses a SQL-like query language for batch reads, enabling retrieval of multiple objects in one API call.\u003c/p\u003e\n"]]],["The Google Ads API uses custom methods like `search` and `mutate` instead of standard REST methods (e.g., `list`, `get`). This is indicated in URLs by a `:` separator. `Mutate` enables batching multiple operations into one request, unlike standard `update`, which handles one campaign at a time. Similarly, `search` allows fetching multiple objects in a single request, utilizing a SQL-like query language. This deviates from REST conventions to facilitate efficient batch processing and querying.\n"],null,["# Service Methods\n\nThe design of the Google Ads API differs from a traditional REST architecture\nbecause it primarily uses custom methods, such as `search` and `mutate,` instead\nof the more traditional `list`, `get`, `create`, `update`, and `delete` methods.\nThese actions are expressed in REST URLs by using the [HTTP mapping](https://cloud.google.com/apis/design/custom_methods#http_mapping)\nconvention of a `:` to separate the custom verb from the rest of the URL.\n\nFor example, a campaign mutate API call uses the following URL: \n\n https://googleads.googleapis.com/v21/customers/1234567890/campaigns:mutate\n\nOne reason that the API uses custom methods is to enable batching of multiple\noperations into a single API request. Strict REST semantics would only allow\nupdating one campaign at a time. A traditional REST\n[`update`](https://cloud.google.com/apis/design/standard_methods#update) to a\ncampaign, for example, would require sending one HTTP PATCH request per campaign\nresource.\n\nTo allow many operations to be bundled together within a single request body,\nthe Google Ads API instead defines a custom `mutate` method for most resources.\nSimilarly, to enable batch reads (fetching many objects at once) from the API,\nthe API uses a custom `search` method with a SQL-like [Google Ads Query\nLanguage](/google-ads/api/docs/query/overview).\n\nThe [Common methods](/google-ads/api/rest/common/overview) page goes into detail on\nthe most frequently used methods in the Google Ads API."]]