Export (0) Print
Expand All

Perl Examples for Bing Ads

The Perl code examples for Bing Ads are developed and run within the environment described in Getting Started Using Perl with Bing Ads Services. Your custom configuration may vary. You may choose to begin with the getting started section, and the remaining examples are grouped by the core scenarios described in Bing Ads Technical Guides.

Getting Started

This example demonstrates how to get your customer and account identifiers. Customer and account identifiers are required for many Bing Ads service operations. For related information, see Getting Started With the Bing Ads API and Customer Management Service Reference.

Topic

Description

Example Operations

Get SOAP Header Elements in Perl

This example demonstrates how to get your customer and account identifiers.

GetCustomersInfo

GetAccountsInfo

Managing Campaigns and Ad Groups

These examples demonstrate how to manage core advertising entities including campaigns and ad groups. For related information, see Managing Campaigns and Ad Groups and Campaign Management Service Reference.

Topic

Description

Example Operations

Add Ad Groups in Perl

Create ad groups within a campaign.

AddAdGroups

Add Campaigns in Perl

Create campaigns within an account.

AddCampaigns

Get Campaigns in Perl

Get campaigns within an account.

GetCampaignsByAccountId

Submit an Ad Group for Approval in Perl

Submit an ad group for editorial approval.

SubmitAdGroupForApproval

Update Ad Groups in Perl

Update elements of a specified ad group.

UpdateAdGroups

Update Campaigns in Perl

Update elements of a specified campaign.

UpdateCampaigns

Managing Ads and Keywords

These examples demonstrate how to setup and manage text or mobile ads, and bid on keywords. For related information, see Managing Ads and Keywords and Campaign Management Service Reference.

Topic

Description

Example Operations

Add Ads in Perl

Create ads within an ad group.

AddAds

Add Keywords in Perl

Add keywords within an ad group.

AddKeywords

Getting Reports

These examples demonstrate how to get detailed reports about accounts, campaigns, and ad groups. The information can help you track finances, measure performance, and adjust settings to optimize your budget or campaign. For related information, see Getting Reports and Reporting Service Reference.

Topic

Description

Example Operations

Keyword Performance Report in Perl

Request and retrieve a keyword performance report.

SubmitGenerateReport

PollGenerateReport

Community Additions

Show:
© 2014 Microsoft