Google::Adwords::AdGroupService is a Perl module to interact with the Google Adwords AdGroupService API calls.
SYNOPSIS
use Google::Adwords::AdGroup;
use Google::Adwords::AdGroupService;
# create a new adgroup object
my $adgroup = Google::Adwords::AdGroup->new;
# set values for the adgroup object
$adgroup->name('My Final Try');
$adgroup->maxCpc(500000);
# create the adgroup service object
my $adgroup_service = Google::Adwords::AdGroupService->new();
# need to login to the Adwords service
$adgroup_service->email($email_address)
->password($password)
->developerToken($developer_token)
->applicationToken($application_token);
# if you use a MCC
#$adgroup_service->clientEmail($client_email);
# now create the adgroup
my $campaignId = 1234; # within this campaign
my $adgroup_response = $adgroup_service->addAdGroup($campaignId, $adgroup);
print "New adgroup ID is :" . $adgroup_response->id;
Product's homepage
Requirements:
· Perl