PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Properties specific to the description of gglAdWAdGroup variables
  • Functions that handle the gglAdWAdGroup type
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
gglAdWAdGroup (Type of variable)
In French: gglAdWGroupeAnnonce (Type de variable)
Warning
From version 17, this feature is not available anymore. To use Google AdWords, see the corresponding Google API: https://developers.google.com/adwords/api/docs/guides/start
The gglAdWAdGroup type is used to describe an ad group of a Google campaign. The characteristics of this ad group can be defined and modified by several WLanguage properties.
Reminder: To create an ad group, a campaign must be created beforehand. Indeed, the campaign identifier must be specified when the ad group is created by GglWrite.
Note: See Declaring a variable for more details.
Example
// Connection to Google AdWords
Cnt is gglAdWConnection
Cnt..Email = "vince@gmail.com"
Cnt..Password = "azerty"
Cnt..UserAgent = "MyApp-01"
Cnt..DeveloperToken = "ABcdeFGH93KL-NOPQ_STUv"
Cnt..ApplicationToken = "ZYXwvu-TSR123_456ABCDE"
Cnt..SandboxMode = False

// Retrieve an ad group according to its identifier
MyGroup is gglAdWAdGroup
MyGroup = GglAdWGetAdGroup(Cnt, "123456")

// Modify the group
MyGroup..Name = "Modified name"

// Apply the changes to the server
GglWrite(Cnt, MyGroup)
Remarks

Properties specific to the description of gglAdWAdGroup variables

The following properties can be used to handle a Google AdWords ad group:
Name Type used Effect
MaxCpaIntegerMaximum cost per acquisition (also called conversion) for the ad group. This property is expressed in micro-units of currency.
KeywordContentMaxCpcIntegerMaximum cost per click defined by default. This property is expressed in micro-units of currency.
KeywordMaxCpcIntegerMaximum cost per click defined by default for the keyword criteria in the ad group. This property is expressed in micro-units of currency.
ProxyKeywordMaxCpcIntegerIndicates whether there is a default proxy bid to the name of the ad group.
This property is expressed in micro-units of currency. This property is read-only.
SiteMaxCpcInteger64Maximum cost per click defined by default for the Web site criteria for the ad group. This property is expressed in micro-units of currency.
SiteMaxCpmIntegerMaximum cost per thousand impressions defined by default for the criteria in this ad group. This property is expressed in micro-units of currency.
StateCharacter String constantCurrent status of ad group. The available values are:
  • gglDeleted: the ad group is deleted.
  • gglPaused: the ad group is paused.
  • gglEnabled: the ad group is enabled.
IdentifierCharacter stringIdentifier of ad group. This property is available in read-only.
CampaignIdentifierCharacter stringIdentifier of the campaign to which the ad group belongs. This property is available in read-only.
NameCharacter stringName of ad group
Note: These properties can be handled by using one of the following syntaxes:
  • <Variable Name>..<Property Name>
  • <Variable Name>.<Property Name>

Functions that handle the gglAdWAdGroup type

Versions 14 and later
GglAdWGetAdGroup
New in version 14
GglAdWGetAdGroup
GglAdWGetAdGroup
Returns the data found in a Google AdWords ad group.
Versions 14 and later
GglWrite
New in version 14
GglWrite
GglWrite
Creates and/or updates data on the Google server (addition or modification of data).
Minimum required version
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment