that works! ..what a stupid mistake..
thanks a lot!
On Wednesday, May 8, 2013 4:44:37 PM UTC+2, Paul Matthews (AdWords API
Team) wrote:
Hi goo...,
It's to do with how you invoke the call to the API.
So, instead of performing the $client-__soapCall() method, if you set the
headers with
Hi goo...,
It's to do with how you invoke the call to the API.
So, instead of performing the $client-__soapCall() method, if you set the
headers with $soap-__setSoapHeaders($encodedHeaders);
Then call the client's magic get method, it should work.
e.g:
$encodedHeaders = new
Thanks, but that doesn't work, so I guess the problem sticks somewhere
else.
here's my php-file:
?php
error_reporting(E_STRICT | E_ALL);
header('Content-Type: text/html; charset=utf-8');
define(ADWORDS_API_VERSION, v201302);
define(ADWORDS_API_SERVER, https://adwords.google.com;);
Hi,
First can you please try this
examplehttps://code.google.com/p/google-api-adwords-php/source/browse/examples/v201302/Optimization/GetKeywordIdeas.phpof
get keyword ideas and see if it's suceessful?
Best,
- Takeshi, AdWords API Team
On Saturday, April 27, 2013 8:02:19 PM UTC+9,
Hi goo...,
Try sending this selector instead:
array(1) {
[selector]=
array(5) {
[requestType]=
string(5) IDEAS
[ideaType]=
string(7) KEYWORD
[requestedAttributeTypes]=
array(4) {
[0]=
string(12) KEYWORD_TEXT
[1]=
string(13) SEARCH_VOLUME
Hi,
I try to create a really simple API call to get related keywords, but I'm
not successful with it.
I create this array and send it via PHP SoapClient:
Array
(
[get] = Array
(
[TargetingIdeaSelector] = Array
(
[searchParameter] =