REST Resource: accounts.accountLinks
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
সম্পদ: AccountLink
একটি অ্যাকাউন্ট লিঙ্ক। একটি Google বিজ্ঞাপন গ্রাহক এবং একটি হোটেল বিজ্ঞাপন (হোটেল সেন্টার) অ্যাকাউন্টের মধ্যে লিঙ্কের প্রতিনিধিত্ব করে। একটি অ্যাকাউন্ট লিঙ্ক হোটেল সেন্টার অ্যাকাউন্টের অধীনে থাকা হোটেলগুলির সেটকে সংজ্ঞায়িত করে যা Google বিজ্ঞাপন গ্রাহকের সাথে লিঙ্ক করা আছে।
ক্ষেত্র |
---|
name | string accounts/{account_id}/accountLinks/{account_link_id} ফর্ম্যাটে অ্যাকাউন্ট লিঙ্কের জন্য সম্পদের নাম। |
googleAdsCustomerName | string অনুরোধ তৈরি করার জন্য প্রয়োজনীয়। customers/{google_ads_customer_id} ফর্ম্যাটে Google Ads গ্রাহক আইডির প্রতিনিধিত্বকারী মান। যেমন: customers/0123456789 । মনে রাখবেন যে GET অনুরোধের উত্তরে googleAdsCustomerName ক্ষেত্রটি ফেরত দেওয়া হয় না। |
status | enum ( AccountLinkStatus ) অ্যাকাউন্ট লিঙ্কের বর্তমান অবস্থা। |
accountLinkTarget | object ( AccountLinkTarget ) অনুরোধ তৈরি করার জন্য প্রয়োজনীয়। হোটেল সেন্টার অ্যাকাউন্টের প্রপার্টি যা লিঙ্ক করা Google Ads অ্যাকাউন্ট ব্যবহার করে ম্যানেজ করা যেতে পারে। |
অ্যাকাউন্টলিঙ্ক স্ট্যাটাস
অ্যাকাউন্ট লিঙ্কের সম্ভাব্য বর্তমান অবস্থা। ভবিষ্যতে নতুন মান যোগ করা হতে পারে.
এনামস |
---|
ACCOUNT_LINK_STATUS_UNSPECIFIED | ডিফল্ট মান। |
ACCOUNT_LINK_STATUS_UNKNOWN | অ্যাকাউন্ট লিঙ্ক স্থিতি এই API সংস্করণ দ্বারা স্বীকৃত নয়. |
REQUESTED_FROM_HOTEL_CENTER | অ্যাকাউন্ট লিঙ্কটি হোটেল সেন্টারের মাধ্যমে শুরু করা হয়েছে এবং এখনও Google বিজ্ঞাপনে অনুমোদন করা হয়নি। |
REQUESTED_FROM_GOOGLE_ADS | অ্যাকাউন্ট লিঙ্কটি Google বিজ্ঞাপনের মাধ্যমে শুরু করা হয়েছে এবং এখনও হোটেল সেন্টারে অনুমোদন করা হয়নি। |
APPROVED | অ্যাকাউন্ট লিঙ্ক অনুমোদিত হয়েছে. |
AccountLinkTarget
হোটেল সেন্টার অ্যাকাউন্টের সমস্ত প্রপার্টি বা প্রপার্টিগুলির একটি উপসেট লিঙ্ক করা Google বিজ্ঞাপন অ্যাকাউন্ট দিয়ে ম্যানেজ করা যাবে কিনা তা নির্ধারণ করে। একটি উপসেট হলে, নির্দিষ্ট বৈশিষ্ট্য নির্দিষ্ট করা হয়।
JSON প্রতিনিধিত্ব |
---|
{
// Union field targets_oneof can be only one of the following:
"allHotels": boolean,
"hotelList": {
object (HotelList )
}
// End of list of possible types for union field targets_oneof .
} |
ক্ষেত্র |
---|
ইউনিয়ন ক্ষেত্রের targets_oneof । হয় সমস্ত সম্পত্তি বা হোটেল সেন্টার অ্যাকাউন্টের অধীনে থাকা সম্পত্তির তালিকা যা অ্যাকাউন্ট লিঙ্কে উপলব্ধ করা হয়েছে। targets_oneof নিম্নলিখিতগুলির মধ্যে একটি হতে পারে: |
allHotels | boolean হোটেল সেন্টার অ্যাকাউন্টের অধীনে সমস্ত সম্পত্তি অ্যাকাউন্ট লিঙ্কে উপলব্ধ করা হলে সত্য। ডিফল্ট false . |
hotelList | object ( HotelList ) সম্পত্তির তালিকা যা অ্যাকাউন্ট লিঙ্কে উপলব্ধ করা হয়েছে। |
হোটেললিস্ট
হোটেল সেন্টার অ্যাকাউন্টের প্রপার্টি যা Google বিজ্ঞাপন অ্যাকাউন্ট দিয়ে ম্যানেজ করা যেতে পারে।
JSON প্রতিনিধিত্ব |
---|
{
"partnerHotelIds": [
string
]
} |
ক্ষেত্র |
---|
partnerHotelIds[] | string হোটেল আইডি |
পদ্ধতি |
---|
| একটি হোটেল সেন্টার অ্যাকাউন্ট এবং একটি Google বিজ্ঞাপন অ্যাকাউন্টের মধ্যে একটি নতুন অ্যাকাউন্ট লিঙ্ক তৈরি করে। |
| একটি অ্যাকাউন্ট লিঙ্ক মুছে দেয়। |
| অনুরোধ URL-এ উল্লিখিত অ্যাকাউন্ট লিঙ্ক সংস্থান নামের সাথে যুক্ত AccountLink উদাহরণ প্রদান করে। |
| একটি হোটেল সেন্টার অ্যাকাউন্টের জন্য অ্যাকাউন্ট লিঙ্ক ফেরত দেয়। |
| একটি অ্যাকাউন্ট লিঙ্কের অ্যাকাউন্ট লিঙ্ক লক্ষ্য আপডেট করে। |
সর্বস্বত্ব সংরক্ষিত। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-25 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-25 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eAccountLink represents the connection between a Google Ads customer and a Hotel Ads (Hotel Center) account, defining the managed hotels.\u003c/p\u003e\n"],["\u003cp\u003eAccountLinkTarget specifies whether all or a subset of Hotel Center properties are managed by the linked Google Ads account.\u003c/p\u003e\n"],["\u003cp\u003eAccountLinkStatus indicates the current state of the link, such as requested, approved, or unknown.\u003c/p\u003e\n"],["\u003cp\u003eHotelList identifies the specific hotels within the Hotel Center account that are accessible through the account link.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can manage account links using methods like create, delete, get, list, and patch to control the Google Ads and Hotel Center connection.\u003c/p\u003e\n"]]],[],null,["# REST Resource: accounts.accountLinks\n\n- [Resource: AccountLink](#AccountLink)\n - [JSON representation](#AccountLink.SCHEMA_REPRESENTATION)\n- [AccountLinkStatus](#AccountLinkStatus)\n- [AccountLinkTarget](#AccountLinkTarget)\n - [JSON representation](#AccountLinkTarget.SCHEMA_REPRESENTATION)\n- [HotelList](#HotelList)\n - [JSON representation](#HotelList.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: AccountLink\n---------------------\n\nAn account link. Represents the link between a Google Ads customer and a Hotel Ads (Hotel Center) account. An account link defines the set of hotels under the Hotel Center account that is linked to the Google Ads customer.\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"googleAdsCustomerName\": string, \"status\": enum (/hotels/hotel-prices/api-reference/rest/v3/accounts.accountLinks#AccountLinkStatus), \"accountLinkTarget\": { object (/hotels/hotel-prices/api-reference/rest/v3/accounts.accountLinks#AccountLinkTarget) } } ``` |\n\n| Fields ||\n|-------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` The resource name for the account link in the format `accounts/{account_id}/accountLinks/{account_link_id}`. |\n| `googleAdsCustomerName` | `string` Required for CREATE requests. The value representing the Google Ads customer ID in the format `customers/{google_ads_customer_id}`. For example: `customers/0123456789`. Note that the `googleAdsCustomerName` field is not returned in responses to GET requests. |\n| `status` | `enum (`[AccountLinkStatus](/hotels/hotel-prices/api-reference/rest/v3/accounts.accountLinks#AccountLinkStatus)`)` The current status of the account link. |\n| `accountLinkTarget` | `object (`[AccountLinkTarget](/hotels/hotel-prices/api-reference/rest/v3/accounts.accountLinks#AccountLinkTarget)`)` Required for CREATE requests. The properties in the Hotel Center account that can be managed using the linked Google Ads account. |\n\nAccountLinkStatus\n-----------------\n\nPossible current statuses of the account link. New values might be added in the future.\n\n| Enums ||\n|-----------------------------------|--------------------------------------------------------------------------------------------------|\n| `ACCOUNT_LINK_STATUS_UNSPECIFIED` | Default value. |\n| `ACCOUNT_LINK_STATUS_UNKNOWN` | The account link status is not recognized by this API version. |\n| `REQUESTED_FROM_HOTEL_CENTER` | The account link was initiated through Hotel Center and has not yet been approved in Google Ads. |\n| `REQUESTED_FROM_GOOGLE_ADS` | The account link was initiated through Google Ads and has not yet been approved in Hotel Center. |\n| `APPROVED` | The account link has been approved. |\n\nAccountLinkTarget\n-----------------\n\nDefines whether all properties or a subset of properties in the Hotel Center account can be managed with the linked Google Ads account. If a subset, the specific properties are specified.\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { // Union field `targets_oneof` can be only one of the following: \"allHotels\": boolean, \"hotelList\": { object (/hotels/hotel-prices/api-reference/rest/v3/accounts.accountLinks#HotelList) } // End of list of possible types for union field `targets_oneof`. } ``` |\n\n| Fields ||\n|-------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Union field `targets_oneof`. Either all properties or a list of properties under the Hotel Center account that is made available to the account link. `targets_oneof` can be only one of the following: ||\n| `allHotels` | `boolean` True if all properties under the Hotel Center account are made available to the account link. The default is `false`. |\n| `hotelList` | `object (`[HotelList](/hotels/hotel-prices/api-reference/rest/v3/accounts.accountLinks#HotelList)`)` List of properties that is made available to the account link. |\n\nHotelList\n---------\n\nThe properties in the Hotel Center account that can be managed with the Google Ads account.\n\n| JSON representation |\n|-------------------------------------------|\n| ``` { \"partnerHotelIds\": [ string ] } ``` |\n\n| Fields ||\n|---------------------|---------------------|\n| `partnerHotelIds[]` | `string` Hotel IDs. |\n\n| Methods ------- ||\n|---------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------|\n| ### [create](/hotels/hotel-prices/api-reference/rest/v3/accounts.accountLinks/create) | Creates a new account link between a Hotel Center account and a Google Ads account. |\n| ### [delete](/hotels/hotel-prices/api-reference/rest/v3/accounts.accountLinks/delete) | Deletes an account link. |\n| ### [get](/hotels/hotel-prices/api-reference/rest/v3/accounts.accountLinks/get) | Returns the `AccountLink` instance associated with the account link resource name specified in the request URL. |\n| ### [list](/hotels/hotel-prices/api-reference/rest/v3/accounts.accountLinks/list) | Returns the account links for a Hotel Center account. |\n| ### [patch](/hotels/hotel-prices/api-reference/rest/v3/accounts.accountLinks/patch) | Updates the account link target of an account link. |"]]