Last active
February 28, 2024 22:38
-
-
Save g-ads-org/128c5915fdc51a55d06af019c797dc54 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function main() { | |
// Create a phone number builder. | |
var phoneNumberBuilder = AdsApp.extensions().newPhoneNumberBuilder(); | |
// Create a phone number operation. | |
var phoneNumberOperation = phoneNumberBuilder | |
.withCountry("IR") // required | |
.withPhoneNumber("02188888888") // required | |
.withMobilePreferred(true) // optional | |
.build(); | |
// Optional: examine the outcome. The call to isSuccessful() | |
// will block until the operation completes. | |
if (phoneNumberOperation.isSuccessful()) { | |
// Get the result. | |
var phoneNumber = phoneNumberOperation.getResult(); | |
} else { | |
// Handle the errors. | |
var errors = phoneNumberOperation.getErrors(); | |
} | |
} |
how it work
visit u :
insta: rmchiphop
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
thanks for script , very useful for iranian ads on google