Aby omawiać nasze usługi i przekazywać opinie na ich temat, dołącz do oficjalnego kanału Discord usługi Ad Manager na serwerze społeczności Google Ads i pomiarów.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2025-08-21 UTC."],[[["\u003cp\u003e\u003ccode\u003eCompanionAd\u003c/code\u003e is a class within dynamic ad insertion representing a companion ad, providing access to a subset of ima.CompanionAd properties.\u003c/p\u003e\n"],["\u003cp\u003eIt includes a constructor to create a \u003ccode\u003eCompanionAd\u003c/code\u003e object and methods to retrieve details like ad slot ID, content, content type, height, and width.\u003c/p\u003e\n"]]],[],null,["CompanionAd \nclass public\n\nA class representing a companion ad object during dynamic ad insertion. This\nclass exposes a subset of the ima.CompanionAd properties.\n\nConstructor\n\nCompanionAd\n\nnew\nCompanionAd(companion)\n\nConstructor.\n\n| Parameter ||\n|-----------|-------------------------|\n| companion | Value must not be null. |\n\nMethods\n\ngetAdSlotId\n\ngetAdSlotId() returns (null or string)\n\nReturns\n\n: `(null or string)`\n\ngetContent\n\ngetContent() returns string\n\nReturns\n\n: `string`\n\ngetContentType\n\ngetContentType() returns (null or string)\n\nReturns\n\n: `(null or string)`\n\ngetHeight\n\ngetHeight() returns number\n\nReturns\n\n: `number`\n\ngetWidth\n\ngetWidth() returns number\n\nReturns\n\n: `number`"]]