PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Properties specific to the description of gglAdWAccountInfo variables
  • Functions that handle the gglAdWAccountInfo 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
gglAdWAccountInfo (Type of variable)
In French: gglAdWInfoCompte (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 gglAdWAccountInfo type is used to describe the information related to a Google AdWords account. The characteristics of this account can be defined and modified by several WLanguage properties.
Note: See Declaring a variable for more details.
Example
// Connection to Google
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 = True
Cnt..ClientEmail = "Client_1+vince@gmail.com"

// Retrieve the account information
AccountInfo is gglAdWAccountInfo
AccountInfo = GglAdWGetAccountInfo(Cnt)

// Modify the account information
AccountInfo..CurrencyCode = "EUR"
AccountInfo..PreferedLanguage = "FR"

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

Properties specific to the description of gglAdWAccountInfo variables

The following properties can be used to handle a Google AdWords account:
NameType used Effect
BillingAddressgglAdWAddressInvoicing address.
PrimaryAddressgglAdWAddressMain address linked to the account. This address is read-only.
PrimaryCategoryCharacter stringMain category of the account. The following categories are accepted by Google:
  • Business to Consumer:
    • Adult & Gambling
    • Affiliate Marketing
    • Antiques & Collectibles
    • Apparel
    • Automotive
    • Beauty Products
    • Books & Magazines
    • Careers & Classifieds
    • Consumer Electronics
    • Consumer Packaged Goods
    • Dating & Personals
    • Education, Religion
    • Flowers, Gifts, Greetings
    • Games (non gambling)
    • Healthcare
    • Home & Garden, Furniture, Art
    • Jewelry, Gems, Watches
    • Legal Services
    • Mass Merchants & Auctions
    • Music, Movies, TV, Tickets, Media
    • Non-profit
    • PC Hardware & Software
    • Personal Finance & Insurance
    • Real Estate
    • Telecommunications & ISP
    • Travel
    • Other Business to Consumer
  • Business to Business:
    • Advertising, Marketing, SEO
    • Affiliate Marketing
    • Agriculture
      - Automotive
    • Business Services
    • Construction & Real Estate
    • Finance
    • Government & Regulated Industries
    • Healthcare
    • Legal Services
    • Manufacturing
    • Printing & Office Supplies
    • Technology: Trade
    • Technology: Enterprise
    • Telecom, Communications, Network
    • Transportation & Logistics
    • Web Hosting and Domain Registration
    • Other Business to Business
DefaultNetworkTargetinggglAdWNetworkTargetingDefault network targeting for the AdWords account.
CurrencyCodeCharacter stringCode of the currency used. The possible values are:
  • AED - Dirham, used in the United Arab Emirates
  • ARS - Peso, used in Argentina
  • AUD - Dollars, used in Australia
  • BGN - Lev, used in Bulgaria
  • BOB - Boliviano, used in Bolivia
  • BRL - Real, used in Brazil
  • CAD - Dollars, used in Canada
  • CHF - Francs, used in Switzerland
  • CLP - Peso, used in Chile
  • CNY - Yuan Renminbi, used in Macao
  • COP - Peso, used in Colombia
  • CZK - Crown, used in Czech Republic
  • DKK - Crown, used in Denmark
  • EEK - Crown, used in Estonia
  • EGP - Pound, used in Egypt
  • EUR - Euros, used in the European Union
  • GBP - Pound, used in the United Kingdom
  • HKD - Dollars, used in Hong Kong
  • HRK - Kuna, used in Croatia
  • HUF - Forint, used in Hungary
  • IDR - Rupee, used in Indonesia
  • ILS - Shekel, used in Israel and in Palestine
  • INR - Rupee, used in India
  • JPY - Yen, used in Japan
  • KRW - Won, used in South Korea
  • LTL - Litas, used in Lithuania
  • MAD - Dirham, used in Morocco
  • MXN - Peso, used in Mexico
  • MYR - Ringgit, used in Malaysia
  • NOK - Crown, used in Norway
  • NZD - Dollars, used in New Zealand
  • PEN - Sol, used in Peru
  • PHP - Peso, used in Philippines
  • PKR - Rupee, used in Pakistan
  • PLN - Zloty, used in Poland
  • RON - Leu, used in Romania
  • RSD - Dinar, used in Serbia
  • RUB - Rouble, used in Russia
  • SAR - Riyal, used in Saudi Arabia
  • SEK - Crown, used in Sweden
  • SGD - Dollars, used in Singapore
  • SKK - Crown, used in Slovakia
  • THB - Baht, used in Thailand
  • TRY - Pound, used in Turkey
  • TWD - Dollar, used in Taiwan
  • UAH - Hryvnia, used in Ukraine
  • USD - Dollar, used in the USA
  • VEF - Bolivar Fuerte, used in Venezuela
  • VND - Dong, used in Vietnam
  • ZAR - Rand, used in South Africa
TimeZoneEffectiveDateIntegerDate set for the time zone, in milliseconds, from 01/01/1970 at 0:00. This property is read-only.
CustomerIDCharacter stringIdentifier of client. This identifier is read-only.
TimeZoneIdentifierCharacter stringIdentifier of the time zone used. This identifier is read-only.
PreferedLanguageCharacter stringPreferred language in the Web interface and in the email notifications.
DescriptiveNameCharacter stringDescriptive name for the account
EmailPromotionPreferencesgglAdWEmailPromotionPreference variableSet the notifications by email.
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 gglAdWAccountInfo type

Versions 14 and later
GglAdWGetAccountInfo
New in version 14
GglAdWGetAccountInfo
GglAdWGetAccountInfo
Retrieves the information regarding an AdWords account.
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