Google Adwords Integration - For PHP Devs
$30-250 USD
Paid on delivery
Using PHP + Laravel 5.3 , you should create a class called Helper PHP that connects to an Adwords Account. You will find vast information here.
You will be provided with:
- an test Gogole Adwords Account
- credentials for accessing it [login to view URL]
- You will find a lot of information
and examples in [login to view URL] In your [login to view URL]
- you will need to add the PHP Adwords api to your composer file. "googleads/googleads-php-lib": "~36.0.0"
- In order to make your work easier, you can send us the methods following the google adwords example patterns
- Your delivery will be a simple class. No dependencies on http methods.
- To make easier tests..you can add an http file that uses your class. Once we call a link like: https://link/testgoogleadapi, it will print array on screen.
class Helper_Google_Adwords
{
const PAGE_LIMIT = 500;
public static function GetCampaigns(
...
) {
$adGroupAdService = $adWordsServices->get($session, AdGroupAdService::class);
You should create two methods:
1) GetCampaigns, you will receive an Account, start date, finish date. You should list all the campaigns that match that account. You should find in all active campaigns. You should list:
- Campaign type (Search regular and extended campaign, Gmail, Remarketing, Shopping, Display)
- Group description
- Group Id
- Ad Id
- Ad description
- Id of campaign
- Budget spent
- Final URL
- Clicks (if possible)
- Average click cost
Return an array with that information
2) GetCampaignsfromURL(account, startdate, finishdate, url[], exactmatch=false, summary=false)
In this second method you will get a list of urls and if exactmatch and find all campaigns that match that url (this is field final url). You should find this URL in all campaigns active
- Campaign type (Search regular and extended campaign, Gmail, Remarketing, Shopping, Display)
- Group description
- Group Id
- Ad Id
- Ad description
- Id of campaign
- Budget spent
- Final URL
- Clicks (if possible)
- Average click cost
return an array with that information.
If summary is set to true, you only shoud return: sum of budget spent in that period, sum of clicks and average click cost.
- If an error occurs, just let the error be thrown (No specific error treatment required)
Pay attention before apply:
- We will run your class against our account provided, if it does not return the right results, we will not pay you until you correct it. We follow freelancer rules strictly.
- After you send us your work, you may expect a feedback in 2/3 working days. (it usually quicker)
- We are in UTC-3, you may be prepared to interact in our working day. We are flexible, but online interactions make thinks quicker.
- If you give us a target date, and do not accomplished that and do not interact with us in order to justify that. We will give you 20% hours tolerance . After that, we will open a dispute and hire another free lancer. Interaction is the key.
- Please read this, before bid.
Project ID: #17656772