Reference documentation and code samples for the Google Ads Ad Manager V1 Client class GetAdBreakRequest.
Request object forGetAdBreakmethod.
Generated from protobuf messagegoogle.ads.admanager.v1.GetAdBreakRequest
Namespace
Google \ Ads \ AdManager \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. The resource name of the AdBreak using the asset key or custom asset key. Format:networks/{network_code}/liveStreamEventsByAssetKey/{asset_key}/adBreaks/{ad_break_id}networks/{network_code}/liveStreamEventsByCustomAssetKey/{custom_asset_key}/adBreaks/{ad_break_id}
getName
Required. The resource name of the AdBreak using the asset key or custom
asset key.
Required. The resource name of the AdBreak using the asset key or custom
asset key.
Format:networks/{network_code}/liveStreamEventsByAssetKey/{asset_key}/adBreaks/{ad_break_id}networks/{network_code}/liveStreamEventsByCustomAssetKey/{custom_asset_key}/adBreaks/{ad_break_id}Please seeAdBreakServiceClient::adBreakName()for help formatting this field.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Ads Ad Manager V1 Client - Class GetAdBreakRequest (0.3.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.3.1 (latest)](/php/docs/reference/ad-manager/latest/V1.GetAdBreakRequest)\n- [0.3.0](/php/docs/reference/ad-manager/0.3.0/V1.GetAdBreakRequest)\n- [0.2.0](/php/docs/reference/ad-manager/0.2.0/V1.GetAdBreakRequest)\n- [0.1.3](/php/docs/reference/ad-manager/0.1.3/V1.GetAdBreakRequest) \nReference documentation and code samples for the Google Ads Ad Manager V1 Client class GetAdBreakRequest.\n\nRequest object for `GetAdBreak` method.\n\nGenerated from protobuf message `google.ads.admanager.v1.GetAdBreakRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Ads \\\\ AdManager \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. The resource name of the AdBreak using the asset key or custom\nasset key.\n\nFormat:\n`networks/{network_code}/liveStreamEventsByAssetKey/{asset_key}/adBreaks/{ad_break_id}`\n`networks/{network_code}/liveStreamEventsByCustomAssetKey/{custom_asset_key}/adBreaks/{ad_break_id}`\n\n### setName\n\nRequired. The resource name of the AdBreak using the asset key or custom\nasset key.\n\nFormat:\n`networks/{network_code}/liveStreamEventsByAssetKey/{asset_key}/adBreaks/{ad_break_id}`\n`networks/{network_code}/liveStreamEventsByCustomAssetKey/{custom_asset_key}/adBreaks/{ad_break_id}`\n\n### static::build"]]