AdBuilderSpace

Contains the methods used to get ad builders.

Note

  • Upgrade your expanded text ads to responsive search ads by February 1, 2023. After this date, you will no longer be able to create new or edit existing expanded text ads. For more information, see About responsive search ads.
  • Existing expanded text ads will continue to serve, and you'll be able to view reports on their performance.
  • You'll still be able to pause, enable, or remove your expanded text ads. Otherwise, attempts to add or update expanded text ads will result in a CampaignServiceAdTypeInvalid error.
  • Learn more about this change.

Example usage:

    var builder = adGroup.newAd().expandedTextAdBuilder();

Methods

Method Name Return Type Description
expandedTextAdBuilder ExpandedTextAdBuilder Gets a builder used to add an expanded text ad to the ad group.
responsiveSearchAdBuilder ResponsiveSearchAdBuilder Gets a builder used to add a responsive search ad to the ad group.

expandedTextAdBuilder

Gets a builder used to add an expanded text ad to this ad group.

Returns

Type Description
ExpandedTextAdBuilder The builder used to add expanded text ads to this ad group.

responsiveSearchAdBuilder

Gets a builder used to add a responsive search ad to this ad group.

Returns

Type Description
ResponsiveSearchAdBuilder The builder used to add responsive search ads to this ad group.