Submit a csv to Google Adwords with the PHP API - php

I want to create campain with the Adwords Api but i have already a csv of the campain, can i submit the csv'file to google like i do with Adwords editor ?
I have not find a function like submitafile to Adwords, if you can help me...
Thanks you.

The adwords api operates at a lower level than that. Using the api you can build a program that creates a campaign from a CSV, but there isn't a simple "here is a CSV create a campaign" function.
Google provides some sample code that shows how to perform common tasks using the api.

Related

Get and put event google calender

I'm creating a website to manage my colleague's work load (you know assign stuff to them).
I want to use Google calendar to know their free times. Is it possible to get their events from Google calendar and then send mine? (to prevent any possible overlaps)
My language is PHP btw
You can do this using the Google APIs Client Library for PHP.
There a Simple example for using the calendar API.

Google map integration with php using multiple location

I want to display google map according to entered multiple locations in the form using php?I tried to find google api for php.Can anyone give some idea how to do this?

Add data to google spreadsheet with javascript or php

I tries searching on many places to know how to data to google spreadsheet with javascript but found nothing that can help me. I found a zend php library that we can use to add data to google spreadsheet but it requires user google user name and password which I don't have. I want rest api to access google spreadsheet and add data to users spreadsheet by getting authorizations from them. Please help me.
I coded a simple java script library which can get data from the google spread sheets once they are published. Gsheet2json
I am using the google custom forms to fill in the spreadsheet and above to retrieve.

google calendar functions

does anyone know how to create a form to add a google calendar event? It has to have tons of additional fields that just need to go into the body of the event. The code I got from the API is nonfunctional. I'd like to do it with php
You can create your own form however you like. That really does not have any connection to the API.
In order to manipulate Google Calendar from your own site you will have to use the Google Calendar Data API.
The official guide to it is here: http://code.google.com/apis/calendar/data/2.0/developers_guide.html
If you want to use PHP I would highly recommend using the Zend Framework, since it makes using the API a lot easier.
Zend has the functionality to deal with the Google Calendar API.
Documentation is here:
http://framework.zend.com/manual/en/zend.gdata.calendar.html

Google Analytics Retrieve data

In one page on my personal site, I like to be able to see some data get from Google Analytics.
I like to have a list of all my site and the average visitor per week or per month over the current year
I have check some solution:
Yahoo Pipe (look complicated)
Google Analytics PHP API class(look nice)
Google Analytics API (look official)
Dimension Analyzer for Google Analytics(look fancy)
So at this point, it have done my research, but none give me something i like to have. Getting a JSON from google would be nice. I will have to parse a XML maybe, but i like to see simpler solutions.
ANYthing would be nice too see
The current version of the Core Reporting API supports this.
You can use the PHP client to access the API. You'll need to register your project in the API console to obtain OAuth 2.0 client ID and secret.

Categories