Re: Problem api adword

2013-12-04 Thread KAMOUN Ilyess
 i like add new 
TextAdsto
 my adgroup:  
AddTextAds.php

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Problem api adword

2013-12-04 Thread KAMOUN Ilyess
My script : 
***
**Begin 
script***
***
require_once 'src/Google/Api/Ads/AdWords/v201306/AdGroupAdService.php';




define("ADWORDS_API_VERSION", "v201306");
 
// Production API
//define("ADWORDS_API_SERVER", "https://adwords.google.com";);
// Sandbox API
define("ADWORDS_API_SERVER", "https://adwords.google.com";);
 
define("ADWORDS_API_NAMESPACE", "https://adwords.google.com/api/adwords/cm/"; 
. ADWORDS_API_VERSION);
define("ADWORDS_API_ADGROUPADSERVICE", ADWORDS_API_SERVER . 
"/api/adwords/cm/" . ADWORDS_API_VERSION . "/AdGroupAdService");
 
// Your API Developer Token
define("ADWORDS_API_TOKEN", "**");
 
// The account that you want to download performace data from
$username = "t...@gmail.com";
$password = "))";
 $customerId = "576-***-3559";
 
try {
// Get an auth token for the user
$url = "https://www.google.com/accounts/ClientLogin";;
$params = array(
"accountType" => "GOOGLE",
"Email" => $username,
"Passwd" => $password,
"service" => "adwords",
"source" => "test"
);
 
$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_HEADER, false);
curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_POST, true);
curl_setopt($curl, CURLOPT_POSTFIELDS, $params);
curl_setopt($curl, CURLOPT_ENCODING, "");
$curlData = curl_exec($curl);
curl_close($curl);
 
$pos = strpos($curlData, "Auth=");
if ($pos > -1) {
$auth = trim(substr($curlData, $pos + 5));
} else {
throw new Exception("You haven't supplied a valid username or 
password for an existing Google account.");
}
// Create the headers needed to access the API
$headers = array(
"developerToken" => ADWORDS_API_TOKEN,
"userAgent" => "agence",
"clientCustomerId" => $customerId,
"authToken" => $auth
);
 
// Encode the headers
$encodedHeaders = new SoapHeader(ADWORDS_API_NAMESPACE, 
"RequestHeader", $headers, false);
 
$options = array(
'features' => SOAP_SINGLE_ELEMENT_ARRAYS,
'encoding' => 'utf-8');
   
// Create the SOAP client

$client = new SoapClient(ADWORDS_API_ADGROUPADSERVICE . "?wsdl", 
$options);
   
$client->__setSoapHeaders($encodedHeaders);

$adGroupId = '8424820921';


$numAds = 5;
  $operations = array();
 // for ($i = 0; $i < $numAds; $i++) {
// Create text ad.
  $textAd = new TextAd();
$textAd->headline = 'Cruise';
$textAd->description1 = 'Visit';
$textAd->description2 = 'Low-gravity';
$textAd->displayUrl = 'www.example.com';
$textAd->url = 'http://www.example.com';
 $textAd->AdType = "TextAd";

 
 
// Create ad group ad.
$adGroupAd = new AdGroupAd();
$adGroupAd->adGroupId = $adGroupId;
$adGroupAd->ad = $textAd;

// Set additional settings (optional).
$adGroupAd->status = 'PAUSED';

// Create operation.
$operation = new AdGroupAdOperation();
$operation->operand = $adGroupAd;
$operation->operator = 'ADD';
$operations[] = $operation;
 // }

  // Make the mutate request.
  $result = $client->mutate($operations);

  // Display results.
  foreach ($result->value as $adGroupAd) {
printf("Text ad with headline '%s' and ID '%s' was added.\n",
$adGroupAd->ad->headline, $adGroupAd->ad->id);
  }



   
} catch (Exception $e) {
print_r($e);
if (isset($client)) {
print $client->__getLastRequest() . "\n";
print $client->__getLastResponse() . "\n";
}
} 
**END SCRIPT***

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Problem api adword

2013-12-04 Thread KAMOUN Ilyess
what the problem  [AdError.INVALID_AD_TYPE @ operations[0].operand.ad] .

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: How to create a budget on customer by AdWords API?

2013-12-04 Thread Zweitze
Access to MDS is provided by the 
*BudgetOrderService*:
 
you can retrieve existing account budgets and add new account budgets.
Note that you must be whitelisted to use this service. Ask your Google 
representative.


Op dinsdag 3 december 2013 08:15:26 UTC+1 schreef Pengfei Li:
>
> I am using MDS now, is there any way to do that by api? can you give an 
> example? Budget seems not a property of ManagedCustomer, so I can not set 
> budget on Customer like the way of Campaigns. Any help will be greatly 
> appreciated.
>
> On Wednesday, November 6, 2013 5:13:35 PM UTC+8, Takeshi Hagikura (AdWords 
> API Team) wrote:
>>
>> Hi,
>>
>> I'm assuming you mean budgets that can be created via "Shared Library" -> 
>>  "Budgets".
>> It's possible to create budgets through the API. Please use 
>> BudgetService
>> .
>>
>> Best,
>> - Takeshi, AdWords API Team
>>
>> On Thursday, October 31, 2013 2:08:45 PM UTC+9, Pengfei Li wrote:
>>>
>>>
>>> Hi, I using adwords api to manage customers in my MCC account, usually i 
>>> create a budget for each managed account on browser. Is there any way to do 
>>> this by  AdWords API?
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


How can I check if migration to latest version of adwords api was successful. My application seems to be using the previous adwords api version.

2013-12-04 Thread jaison . directi
I am currently using adwords api(v201306) PHP client library for my 
project. I would like to migrate to adwords api version 'v201309'.

In order to migrate to the newer version, I have downloaded the PHP client 
library for the new version.
I then copied the following folder - 
'adwords_api_php_4.7.0\src\Google\Api\Ads\AdWords\v201309' into my current 
project and edited the settings.ini file to set DEFAULT_VERSION to v201309.

How can I check if my application is now running using version 'v201309' of 
adwords api?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: how to get ClientCustomerID after oAuth2 authorization

2013-12-04 Thread larisa bolgova
Thank you for your answering.
I have another question.

When i use oAuth2
I recieve 
{
"access_token":"1/fFAGRNJru1FTz70BzhT3Zg",
"expires_in":3920,
"token_type":"Bearer",
"refresh_token":"1/xEoDL4iW3cxlI7yDbSRFYNG01kVKM2C-259HOF2aQbI"
}

how could i make first adwords api call, using access token?

when i try to create 

*$user = new AdWordsUser();*
and then
*$managedCustomerService = $user->GetService('ManagedCustomerService', 
'v201306');*

i have the -  *Validation failed for [email] with value []: email is 
required and cannot be NULL. *error

but when i try to fill  *$user = new AdWordsUser(); parametrs* (developer 
token and access token) i face the -   
*AuthenticationError.GOOGLE_ACCOUNT_COOKIE_INVALID* error 

What i did wrong?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: "AdGroupCreativeId" in Click Performance Report doesn't match "Id" in Ad Performance Report

2013-12-04 Thread Ittai Chorev
Hi,

Is there any update/timeline for this issue? 

Since you introduced the Click Performance Report we've been advising our 
customers to start using the GclId for attributing revenue data , as it's a 
much simpler and easier way than manual tagging (Google Analytics 
recommends this as well!). However, we are still unable to attribute the 
revenue data to creatives or locations.

Thanks!
Ittai

On Tuesday, November 5, 2013 11:33:16 PM UTC+2, Ittai Chorev wrote:
>
> Hi David,
>
> Happy to see you reproduced the problem and thanks for the help! 
>
> Just to verify - did you reproduce both problems? the AdGroupCreativeId 
> and the CountryCriteriaId? (Both of them don't match the expected value).
>
> Best Regards,
> Ittai
>
> On Tuesday, November 5, 2013 5:48:27 PM UTC+2, David Torres (AdWords API 
> Team) wrote:
>>
>> Hi Ittai,
>>
>> Sorry for the delay, I was able to reproduce the problem on my side and 
>> talking with my team to figure out a solution. Please bear with me for a 
>> bit more.
>>
>> Best,
>>
>> - David Torres - AdWords API Team
>>
>> On Thursday, October 31, 2013 3:00:15 PM UTC-4, Ittai Chorev wrote:
>>>
>>>  I forgot to send the GclId from the Click report in case that can help 
>>> you in any way. It's:
>>> CNO6z663p7oCFTF04god4DcAjA
>>>
>>> So the full reply is:
>>> {'GclId': 'CNO6z663p7oCFTF04god4DcAjA', 'AdGroupId': '7882977711', 
>>> 'CriteriaId': '16812450713',  'AdGroupCreativeId': '38257569231', 
>>>  'CountryCriteriaId': 'Germany', Date': '2013-10-21' }
>>>
>>>
>>> On Tuesday, October 29, 2013 9:20:35 PM UTC-7, Ittai Chorev wrote:

 Hi David,

 Sure - This is the reply I get:
 {'AdGroupId': '7882977711', 'CriteriaId': '16812450713', 
  'AdGroupCreativeId': '38257569231',  'CountryCriteriaId': 'Germany', 
 Date': '2013-10-21' }

 There is only one click on that Adgroup that day which comes from Ad 
 ID: 38134791951 which doesn't match the AdGroupCreativeId (as it should)
 We've noticed that there's an almost-constant offset between the two 
 numbers - the difference of 122777280 (=AdGroupCreativeId - Ad ID) tends 
 to 
 repeat itself in some other samples we did along with a few other close 
 numbers.
 The returned CriteriaId does match the expected KeywordId.

 One more thing is that the CountryCriteriaId doesn't match the 
 GeoPerformanceReport, which returns the following:
 {'AdGroupId': '7882977711', 'CountryCriteriaId': 'Sri Lanka', 'Date': 
 '2013-10-21', 'Clicks': '1'}

 Thanks!
 Ittai

 On Friday, October 25, 2013 10:15:51 AM UTC-7, David Torres (AdWords 
 API Team) wrote:
>
> Hi Ittai,
>
> Do you mind sharing the Ad Group ID and date for which you are pulling 
> these reports?
>
> Best,
>
> - David Torres - AdWords API Team
>
> On Monday, October 21, 2013 9:26:34 AM UTC-4, Ittai Chorev wrote:
>>
>> Hi,
>>
>> I pulled a Click Performance Report with the "AdGroupCreativeId" 
>> attribute on an adgroup with only one click that date.
>> Then I pulled an Ad Performance Report on the same adgroup/date and 
>> the "ID" field in the Ad report (which should match the Ad ID) doesn't 
>> match the "AdGroupCreativeId" from the Click Performance Report.
>>
>> When I added the other attributes they all matched - "Slot", "Device" 
>> and "KeywordID" (called "CriterionID" in the Click Performance Report).
>>
>> Thanks,
>> Ittai
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Destination Auto-tagging

2013-12-04 Thread Ittai Chorev
Hi,

Is there any plan to implement this feature in the API?

Since you introduced the Click Performance Report through the API a few 
months ago auto-tagging has become a very useful feature for API 
developers. 
In the current situation we can't even verify that the auto-tagging is 
enabled and alert the user if not!

Many Thanks!
Ittai

On Tuesday, October 18, 2011 10:41:19 PM UTC+3, Eric Koleda wrote:
>
> Hi,
>
> No, unfortunately the API doesn't expose the auto-tagging functionality.
>
> Best,
> - Eric Koleda, AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Your client does not have permission to get URL

2013-12-04 Thread Evgeniy Bogdanov
Such errors can be returned if your server have time difference with Google
servers.


2013/12/2 Jonathan Fann 

> I have removed the map and put the old version of Google Maps embedded on
> the page and it works... does not work when using the new Google Maps embed.
>
> On Friday, November 22, 2013 2:10:44 PM UTC-5, Josh Radcliff (AdWords API
> Team) wrote:
>>
>> Hi Daniel,
>>
>> My colleague is following up with you offline on this one.  One of us
>> will post back to this topic once the issue is resolved.
>>
>> Regards,
>> Josh, AdWords API Team
>>
>> On Wednesday, November 20, 2013 8:45:39 AM UTC-5, Modix Germany wrote:
>>>
>>> Hello,
>>>
>>> we're using the PHP client library v201306. All of a sudden, we are now
>>> running into a SoapFault when requesting the WSDL from Google AdWords web
>>> service.
>>>
>>> Curl outputs the following; curl https://adwords.google.com/
>>> api/adwords/cm/v201306/MutateJobService?wsdl:
>>>
>>> 
 
   
   
   Error 403 (Forbidden)!!1
   
 *{margin:0;padding:0}html,code{font:15px/22px
 arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7%
 auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* >
 body{background:url(//www.google.com/images/errors/robot.png) 100% 5px
 no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{
 color:#777;text-decoration:none}a img{border:0}@media screen and
 (max-width:772px){body{background:none;margin-top:0;
 max-width:none;padding-right:0}}
   
   >>> errors/logo_sm.gif alt=Google>
   403. That’s an error.
   Your client does not have permission to get URL
 /api/adwords/cm/v201306/MutateJobService from this
 server.  That’s all we know.
>>>
>>>
>>> What's the reason that cause above HTTP/403 error?
>>>
>>> Regards
>>> - Daniel
>>>
>>  --
> --
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> http://googleadsdeveloper.blogspot.com
> http://groups.google.com/group/adwords-api
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> You received this message because you are subscribed to the Google
> Groups "AdWords API Forum" group.
> To post to this group, send email to adwords-api@googlegroups.com
> To unsubscribe from this group, send email to
> adwords-api+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/adwords-api?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "AdWords API Forum" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to adwords-api+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


setting predicates in Selector for Reports - no setter and not visible

2013-12-04 Thread assaf
Hi,

I wish to set a predicate for a report.
Using the Selector from - 
com.google.api.ads.adwords.lib.jaxb.v201309.Selector (as in the report 
examples) -

 Selector selector = new Selector();
 List columnsList = Lists.newArrayList("CampaignId", 
 "Impressions",
  "Clicks");

selector.getFields().addAll(columnsList);

 
reportDefinition.setReportType(ReportDefinitionReportType.CAMPAIGN_PERFORMANCE_REPORT);
   
 reportDefinition.setDownloadFormat(DownloadFormat.XML);
 reportDefinition.setSelector(selector);

In this Selector object there is no setter for Predicates and the attribute 
itself is not visible.

How should I set the predicate - 
 Predicate adGroupIdPredicate = new Predicate("AdGroupId", 
PredicateOperator.IN,adgroupIDs);

Thanks

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Error running AdWords API with Google App Engine

2013-12-04 Thread Anders Hansen
Hi Takeshi,

I am quite new to both AdWords API and axis / jaxws, but as I understand it
jaxws has a subset of the functionality of axis. Will this give me any
problems with the functionality of the AdWords API compared to using axis
and can I still use the adwords-axis-examples from the Java Client Library
as a starting point for my learning in this area?

One problem I have found so far after having experimented  with the
"GetAccountHierarchy" example (using jaxws instead of axis) is that there
is no setFields method in the jaxws Selector class, so hopefully there is
another way to select fields:

// Axis example
Selector selector = new Selector();
selector.setFields(new String[]{"Login", "CustomerId",  "Name"});

I would really like to use Google App Engine for my project to get the
advantages of low maintenance and scalability, but as there is so little
information to find on the Internet about using AdWords API on App Engine,
I am quite uncertain whether the integration of the two products have
reached a maturity level suitable for production or if it is safer to go
with setting up my own server. Can you please help me with your opinion
about which way to go?

Thanks,
Anders


2013/12/4 Takeshi Hagikura (AdWords API Team) <
adwordsapiadvisor+take...@google.com>

> Hi Andres,
>
> Unfortunately there isn't a demo app for appengine using the Java client
> library.
>
> Best,
> - Takeshi,
>
>
> On Tuesday, December 3, 2013 8:58:20 PM UTC+9, Anders H wrote:
>>
>> Hi Takeshi,
>>
>> Thank you for your suggestion. I will have at look at it and write back
>> with my results when I have finished testing.
>>
>> Are there any up to date Java demo applications available for using
>> AdWords API on App Engine? I was thinking of something like this Python
>> demo:
>> https://developers.google.com/adwords/api/docs/demo-apps?hl=
>> da#awapi_app_engine_python
>>
>> Thanks,
>> Anders
>>
>> Den fredag den 29. november 2013 07.18.25 UTC+1 skrev Takeshi Hagikura
>> (AdWords API Team):
>>>
>>> Hi Anders,
>>>
>>> Due to the security protection for appengine, currently SOAP calls by
>>> axis are not allowed.
>>> You should be able to make a call with the jaxws 
>>> modules
>>> .
>>> Can you please try that?
>>>
>>> Best,
>>> - Takeshi, AdWords API Team
>>>
>>> On Wednesday, November 27, 2013 6:29:18 PM UTC+9, Anders H wrote:

 I am working on an App Engine Java project that tries to get a list of
 clients from a MCC Test Account. The project is using the Java Client
 Library.

 The application is working when running locally on the devserver, but
 when running on appspot the statement:

 *page = managedCustomerService.get(selector);*
>

 throws the following exception:

 AxisFault
  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
  faultSubcode:
  faultString: java.net.SocketException: Permission denied: Attempt to 
 access a blocked recipient without permission. (mapped-IPv4)

 As I was in doubt which forum was best to ask this kind of question that 
 includes both AdWords API and App Engine, I have already posted further 
 details in the App Engine forum: 
 http://stackoverflow.com/questions/20192725/java-socket-exception-when-running-google-adwords-api-on-google-app-engine

 Could this be an error with the AdWords API / App Engine support or am I 
 missing something?

 Thanks,
 Anders




  --
> --
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> http://googleadsdeveloper.blogspot.com
> http://groups.google.com/group/adwords-api
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> You received this message because you are subscribed to the Google
> Groups "AdWords API Forum" group.
> To post to this group, send email to adwords-api@googlegroups.com
> To unsubscribe from this group, send email to
> adwords-api+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/adwords-api?hl=en
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "AdWords API Forum" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/adwords-api/SGw36bi5nDU/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> adwords-api+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscrib

Re: keyword id 3000004

2013-12-04 Thread Josh Radcliff (AdWords API Team)
Hi Greg,

Thanks for confirming that this was run for ALL_TIME - that explains why 
you saw the old 304 ID.  Regarding the status of that Keyword, my 
suspicion is that since it is a universal placeholder ID like 300 and 
306,
 
the concept of a status doesn't really apply, or rather that it will always 
be ACTIVE.  I'm looking to confirm this though and will get back to you.

I would be curious to know how you handle the 300 and 306 
placeholder IDs, or have you not encountered those yet?

Cheers,
Josh, AdWords API Team

On Monday, December 2, 2013 4:38:18 PM UTC-5, GregT wrote:
>
> Hi, Josh.
>
> My apologies -- I posted about two different keyword performance report 
> issues on the same day here, and got some of the specifics of this one 
> confused with the other.  I looked through our logs to verify... the 
> purpose of this particular report was to just get structure -- i.e. get the 
> attributes of all keywords -- so it was run for ALL_TIME, and did not 
> include anything but attribute fields -- 
> namely, KeywordMatchType, KeywordText, DestinationUrl, IsNegative, 
> QualityScore, MaxCpc, ApprovalStatus, AdGroupName, FirstPageCpc, Status, 
> AdGroupId, and Id.  The campaign ids were what I sent over email, along 
> with 23 additional campaigns - I can send those ids to you as well, if you 
> need them.  Everything else should be as I posted or emailed.  
>
> Note that the keyword with the id 304 was returned as having an active 
> status (so we tried to process it and store it locally, which failed, since 
> the fields like approval status, quality score, etc., did not have real 
> values).  If it is deprecated, I wouldn't expect it to be returned as an 
> active keyword?
>
> Sorry for the prior wrong information.
> Thanks,
> Greg
>
>
> On Monday, December 2, 2013 11:33:00 AM UTC-6, Josh Radcliff (AdWords API 
> Team) wrote:
>>
>> Hi Greg,
>>
>> Thanks for the additional info.  Is it possible that you ran the reports 
>> for *2010* instead of *2013*?  The deprecated 304 value does appear 
>> on reports for that old time frame, but not after.
>>
>> Cheers,
>> Josh, AdWords API Team
>>
>> On Tuesday, November 26, 2013 4:46:31 PM UTC-5, GregT wrote:
>>>
>>> Hi, Josh.
>>>
>>> Unfortunately, I don't have access to that particular account anymore, 
>>> so I don't know if it's still happening.  I've sent you the customer id, 
>>> campaign ids, and date range via email previously.  The rest of the info: 
>>> this is for the keyword performance report, in GZIPPED_CSV format, with the 
>>> fields AdGroupId, AdGroupName, AverageCpc, AveragePosition, CampaignId, 
>>> CampaignName, Cost, Clicks, Impressions, Date, Id, KeywordMatchType, 
>>> MaxCpc, KeywordText, AdNetworkType1, Device, QualityScore, Conversions, 
>>> ConversionsManyPerClick, and TotalConvValue, with returnMoneyInMicros set 
>>> to true, using v201309 of the API.  We last ran this report Nov 19 and saw 
>>> this then, but haven't run it since and, as I said, can't anymore at the 
>>> moment.  We probably ran the report 5 or 6 times that day, and saw it each 
>>> time.
>>>
>>> Thanks,
>>> Greg
>>>
>>> On Monday, November 25, 2013 9:54:25 AM UTC-6, Josh Radcliff (AdWords 
>>> API Team) wrote:

 Hi Greg,

 Thanks for sending over the additional details.  I've tried to 
 reproduce that behavior but I'm not seeing 304 or "AutomaticKeywords" 
 in the results.

1. Could you send over the full report definition you are using so 
I can replicate the request in its entirety?
2. Are you still seeing this behavior today?  If not, could you let 
me know the dates when you did see this?

 Note that I have confirmed that 304 is not a value for any active 
 feature of AdWords.

 Thanks,
 Josh, AdWords API Team

 On Friday, November 22, 2013 4:18:18 PM UTC-5, GregT wrote:
>
> Hi, Josh.
>
> I've sent you that email.
>
> Thanks,
> Greg
>
> On Friday, November 22, 2013 1:12:56 PM UTC-6, Josh Radcliff (AdWords 
> API Team) wrote:
>>
>> Hi Greg,
>>
>> I'm still investigating this one.  If you wouldn't mind sharing the 
>> customer ID with me, please send it to *me only* by clicking "Reply 
>> to Author" on this post.  I'd like to run the report myself to help 
>> figure 
>> this out.
>>
>> Thanks,
>> Josh, AdWords API Team
>>
>> On Tuesday, November 19, 2013 5:03:13 PM UTC-5, GregT wrote:
>>>
>>> Hi,
>>>
>>> We have a client who has a search only campaign using manual CPC 
>>> bidding with enhanced CPC.  When running the keyword performance report 
>>> for 
>>> them, we get back rows that have a keyword id of 304 and keyword 
>>> text 
>>> of "AutomaticKeywords", with other fields like quality score, max cpc, 
>>> appro

Re: Does the current status of the campaign affect historical keyword download?

2013-12-04 Thread Peter Kingswell
wow.  That really messes up our implementation.  I suggest that the 
documentation for the AdGroupStatus, CampaignStatus and Status predicates 
be updated to this effect (if it doesn't have it already - I can't find it 
right now).

Thanks, Peter


On Wednesday, December 4, 2013 12:21:31 AM UTC-5, Takeshi Hagikura (AdWords 
API Team) wrote:
>
> Hi Peter,
>
> It's expected. 
> The predicate doesn't take historical statuses into account. 
>
> Best,
> - Takeshi, AdWords API Team
>
> On Wednesday, December 4, 2013 6:33:10 AM UTC+9, Peter Kingswell wrote:
>>
>> Hi,
>>
>> I'm seeing some unexpected behaviour from the reporting API.
>>
>> Let's say it's Friday and you download Monday's keywords (filtering on 
>> "CampaignStatus" == "ACTIVE") for an account with one active campaign. 
>>  Keywords are returned.  Then you pause the campaign and download Monday's 
>> keywords again (filtering on "CampaignStatus" == "ACTIVE").  This time no 
>> keywords are returned.
>>
>> This to me is unexpected behaviour.  On Monday the campaign was active 
>> and that's all that matters - the fact that it's now (i.e. on Friday) 
>> paused is of no relevance.  Right?
>>
>> Thanks, Peter
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Reading stats from reports, sorting them and displaying them on UI (Without saving to files)

2013-12-04 Thread naman jindal
Hi Takeshi,

Thanks for your answer. I have made a function that will sort my report. 
There is one more thing that I want to know. Is there a way to read from 
the report directly, without actually downloading the csv.

I know there is a way to read from the response object as:
ReportDownloadResponse response =
  new ReportDownloader(session).downloadReport(query, 
DownloadFormat.CSV);
 
 String str = "";
 int i,n = 0;
 char c;
 while((i=response.getInputStream().read())!=-1)
 {
 

}

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Reading stats from reports, sorting them and displaying them on UI (Without saving to files)

2013-12-04 Thread naman jindal
Hi Takeshi,

Thanks for your reply. I have made a function to sort the report. Now I 
want to know if there is a way to read the report directly without saving 
it to file? Forget the sorting part.
I just want to read the report without saving it to file. I know one way of 
using the response object as:

ReportDownloadResponse response = new 
ReportDownloader(session).downloadReport(query, DownloadFormat.CSV);

String str = "";
int i,n = 0;
char c;
while((i=response.getInputStream().read())!=-1)
{

//Do something

}

But this reads the report character by character. I want to know if we can 
read the report line by line or anything that is more efficient.

Thanks for your time.

Regards,
Naman Jindal

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Does the current status of the campaign affect historical keyword download?

2013-12-04 Thread Peter Kingswell
Hi Takeshi,

let's say it's Monday and you have a paused campaign with keywords.  On 
Friday you re-enable it and then download Monday's keywords (using 
Selector.DateRange and "CampaignStatus" == "ACTIVE" and "Status" == 
"ACTIVE").  Will you get those keywords?  And if so, what will their 
Clicks, Impressions and Status fields contain?

Thanks, Peter

On Wednesday, December 4, 2013 12:21:31 AM UTC-5, Takeshi Hagikura (AdWords 
API Team) wrote:
>
> Hi Peter,
>
> It's expected. 
> The predicate doesn't take historical statuses into account. 
>
> Best,
> - Takeshi, AdWords API Team
>
> On Wednesday, December 4, 2013 6:33:10 AM UTC+9, Peter Kingswell wrote:
>>
>> Hi,
>>
>> I'm seeing some unexpected behaviour from the reporting API.
>>
>> Let's say it's Friday and you download Monday's keywords (filtering on 
>> "CampaignStatus" == "ACTIVE") for an account with one active campaign. 
>>  Keywords are returned.  Then you pause the campaign and download Monday's 
>> keywords again (filtering on "CampaignStatus" == "ACTIVE").  This time no 
>> keywords are returned.
>>
>> This to me is unexpected behaviour.  On Monday the campaign was active 
>> and that's all that matters - the fact that it's now (i.e. on Friday) 
>> paused is of no relevance.  Right?
>>
>> Thanks, Peter
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Problem api adword

2013-12-04 Thread KAMOUN Ilyess
Hi Team;
 i like add new TextAds to my adgroup what example i use please ? you 
should me AddTextAds.php
? thank you in advance

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


AuthenticationError.GOOGLE_ACCOUNT_COOKIE_INVALID error

2013-12-04 Thread larisa bolgova
 Hi. I wanna get user account  customerId to get all his campaings, etc. 

i try to do so in this way

*$client = new Google_Client();*
*$client->setApplicationName('name');*
*$client->setClientId('application id');*
*$client->setClientSecret('AppGoogleOAuthClientSecret');*
*$client->setRedirectUri('AppGoogleOAuthRedirectURI));*
*$client->setDeveloperKey('AppGoogleOAuthDeveloper token));*
*$client->setScopes('https://adwords.google.com/api/adwords/');*
*$client->authenticate();*

than i make next adwords call

*$arrResponse = Zend_Json::decode($client->getAccessToken());*
*$authToken = $arrResponse['access_token'];*
*$wsdl = 
'https://adwords.google.com/api/adwords/mcm/v201309/CustomerService?wsdl';*
*$namespace = 'https://adwords.google.com/api/adwords/mcm/v201309';*
*$options = array('features' => SOAP_SINGLE_ELEMENT_ARRAYS, 'encoding' => 
'utf-8');*
*$customerService = new SoapClient($wsdl, $options);*
*$headers = new SoapHeader($namespace, 'RequestHeader', array('authToken' 
=> $authToken, 'userAgent' => 'Name',*

 *'developerToken' => 'Developer token'**,*

 *'clientCustomerId' => 'AppGoogleOAuthClientID');*
*$customerService->__setSoapHeaders($headers);*
*$result = $customerService->get();*

after that i've got the next error 
AuthenticationError.GOOGLE_ACCOUNT_COOKIE_INVALID 

Where is my mistake. Pls help.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: keyword id 3000004

2013-12-04 Thread Josh Radcliff (AdWords API Team)
Hi Greg,

I've confirmed that the placeholder IDs (30x) will always be reported 
as active (by design) since they are a special case.  These keyword IDs 
represent an aggregation of keywords, display keywords, etc., so they won't 
have values that cannot be aggregated, such as Quality Score.

Hope that clears things up.  Let me know if you still have additional 
questions.

Regards,
Josh, AdWords API Team

On Wednesday, December 4, 2013 9:23:43 AM UTC-5, Josh Radcliff (AdWords API 
Team) wrote:
>
> Hi Greg,
>
> Thanks for confirming that this was run for ALL_TIME - that explains why 
> you saw the old 304 ID.  Regarding the status of that Keyword, my 
> suspicion is that since it is a universal placeholder ID like 300 and 
> 306,
>  
> the concept of a status doesn't really apply, or rather that it will always 
> be ACTIVE.  I'm looking to confirm this though and will get back to you.
>
> I would be curious to know how you handle the 300 and 306 
> placeholder IDs, or have you not encountered those yet?
>
> Cheers,
> Josh, AdWords API Team
>
> On Monday, December 2, 2013 4:38:18 PM UTC-5, GregT wrote:
>>
>> Hi, Josh.
>>
>> My apologies -- I posted about two different keyword performance report 
>> issues on the same day here, and got some of the specifics of this one 
>> confused with the other.  I looked through our logs to verify... the 
>> purpose of this particular report was to just get structure -- i.e. get the 
>> attributes of all keywords -- so it was run for ALL_TIME, and did not 
>> include anything but attribute fields -- 
>> namely, KeywordMatchType, KeywordText, DestinationUrl, IsNegative, 
>> QualityScore, MaxCpc, ApprovalStatus, AdGroupName, FirstPageCpc, Status, 
>> AdGroupId, and Id.  The campaign ids were what I sent over email, along 
>> with 23 additional campaigns - I can send those ids to you as well, if you 
>> need them.  Everything else should be as I posted or emailed.  
>>
>> Note that the keyword with the id 304 was returned as having an 
>> active status (so we tried to process it and store it locally, which 
>> failed, since the fields like approval status, quality score, etc., did not 
>> have real values).  If it is deprecated, I wouldn't expect it to be 
>> returned as an active keyword?
>>
>> Sorry for the prior wrong information.
>> Thanks,
>> Greg
>>
>>
>> On Monday, December 2, 2013 11:33:00 AM UTC-6, Josh Radcliff (AdWords API 
>> Team) wrote:
>>>
>>> Hi Greg,
>>>
>>> Thanks for the additional info.  Is it possible that you ran the reports 
>>> for *2010* instead of *2013*?  The deprecated 304 value does appear 
>>> on reports for that old time frame, but not after.
>>>
>>> Cheers,
>>> Josh, AdWords API Team
>>>
>>> On Tuesday, November 26, 2013 4:46:31 PM UTC-5, GregT wrote:

 Hi, Josh.

 Unfortunately, I don't have access to that particular account anymore, 
 so I don't know if it's still happening.  I've sent you the customer id, 
 campaign ids, and date range via email previously.  The rest of the info: 
 this is for the keyword performance report, in GZIPPED_CSV format, with 
 the 
 fields AdGroupId, AdGroupName, AverageCpc, AveragePosition, CampaignId, 
 CampaignName, Cost, Clicks, Impressions, Date, Id, KeywordMatchType, 
 MaxCpc, KeywordText, AdNetworkType1, Device, QualityScore, Conversions, 
 ConversionsManyPerClick, and TotalConvValue, with returnMoneyInMicros set 
 to true, using v201309 of the API.  We last ran this report Nov 19 and saw 
 this then, but haven't run it since and, as I said, can't anymore at the 
 moment.  We probably ran the report 5 or 6 times that day, and saw it each 
 time.

 Thanks,
 Greg

 On Monday, November 25, 2013 9:54:25 AM UTC-6, Josh Radcliff (AdWords 
 API Team) wrote:
>
> Hi Greg,
>
> Thanks for sending over the additional details.  I've tried to 
> reproduce that behavior but I'm not seeing 304 or "AutomaticKeywords" 
> in the results.
>
>1. Could you send over the full report definition you are using so 
>I can replicate the request in its entirety?
>2. Are you still seeing this behavior today?  If not, could you 
>let me know the dates when you did see this?
>
> Note that I have confirmed that 304 is not a value for any active 
> feature of AdWords.
>
> Thanks,
> Josh, AdWords API Team
>
> On Friday, November 22, 2013 4:18:18 PM UTC-5, GregT wrote:
>>
>> Hi, Josh.
>>
>> I've sent you that email.
>>
>> Thanks,
>> Greg
>>
>> On Friday, November 22, 2013 1:12:56 PM UTC-6, Josh Radcliff (AdWords 
>> API Team) wrote:
>>>
>>> Hi Greg,
>>>
>>> I'm still investigating this one.  If you wouldn't mind sharing the 
>>> customer ID with me, please send it to *me only* 

Re: Using AdWord API for mobile campaigns

2013-12-04 Thread Takeshi Hagikura (AdWords API Team)
Hi Stella,

I think part of your plan can be achieved using the AdWords API.
You can upload image ads 320x50 using 
ImageAd
 (You 
don't have to use templateAd). 
But I don't think zipcode targeting is available through the AdWords API.
As for the location related targeting, you can find available targeting 
methods 
here
 (e.g. PROXIMITY, LOCATION). 

Best,
- Takeshi, 

On Tuesday, December 3, 2013 6:38:18 AM UTC+9, ssAdword wrote:
>
> Hi, 
> I'm trying to explore functionality of AdWord API.  What I'm hoping to 
> accomplish is to bulk upload image ads targeting at mobile devices (either 
> in-app or mobile web display), manage the bid and have layers of targeting 
> such as zipcode targeting.  It is not for app download but mobile campaign 
> that drives to my own site.  I have >10K banners (URL links) and need to 
> dynamically manage them through the API.  
> I used the AdWord Web interface before to test on small scale and used 
> 320x50 image ad, targeting at mobile devices and zip codes.  As the site 
> indicates that AdWord API is almost the same as the web interface. but 
> under the reference for template ads, I didn't find the right ad size for 
> mobile ads (320x50) and I'm not sure if image ads is an option for AdWord 
> API in this case.  
>  
> I wonder whether AdWord API is the right tool.  Or should I go for 
> DoubleClick Campaign Manager?
>  
> Stella
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Get the Campaign name By Creative ID

2013-12-04 Thread Takeshi Hagikura (AdWords API Team)
Hi Alexis,

I don't think it's possible to associate creativeID and the campaign name 
through the AdWords API at this time.

Best,
- Takeshi, AdWords API Team

On Friday, November 29, 2013 11:01:24 PM UTC+9, Alexis Gruet wrote:
>
> Hi everyone, 
>
> We currently use value track and and log every incoming connexions from 
> adwords campaign, Then we import every datas from value track associated to 
> user actions and personal datas into a dataware to analyse the traffic and 
> how improve it our campaings 
>
> We log the creativeID from valueTrack and we are truly interested to 
> retrieve programatically the campaign name associated to this creativeID. 
>
> My questions are : 
>
> 1. Is there any way to do this through the adwords-api  to do this ?  ( 
> we've got a working api token ) 
> 2. Is there any existing code example to achieve this ? 
> 3. What is the logic to achieve this ? 
>
> I imagine a method such as String getCampaignNameByCreativeID( int v ) ... 
>
> Thanks by advance. 
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: comma in field content in CSV report?

2013-12-04 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

It'll be quoted by a double quote. (e.g. "some, comma, include strings"

Best,
- Takeshi, AdWords API Team

On Friday, November 29, 2013 9:10:17 PM UTC+9, Italo Armenti wrote:
>
> Hello,
> since I am downloading the report in CSV format, I wonder if there is a 
> way you deal when there is a comma inside a field.
> For example, what happens if there is a comma in the 'Description1' field 
> of an AD_PERFORMANCE_REPORT? How will it appear in the CSV?
>
> Thanks!
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: AuthorizationError.USER_PERMISSION_DENIED

2013-12-04 Thread Takeshi Hagikura (AdWords API Team)
Hi,

My first guess is that the account you are making the API call against 
(xxx-xxx-xxx) is not linked to 
the account 
you used as the OAuth2 authentication. 

Please make sure the account 
(xxx-xxx-xxx) is linked to the 
MCC account you used as the authentication.

Best,
- Takeshi, AdWords API Team

On Wednesday, December 4, 2013 6:39:11 AM UTC+9, Nelutzu wrote:
>
> Hello all,
>
> I get this error when i try to get all campaigns from my mcc account using 
> adwords api(v201309):
>
> *Fatal error: Uncaught SoapFault exception: [soap:Server] 
> [AuthorizationError.USER_PERMISSION_DENIED @ ; trigger:'I use the client 
> library get it from here: 
> https://code.google.com/p/google-api-adwords-php/(ADWORDS_VERSION 
>  
> v201309).* I use OAUTH2.
>
> In the auth.ini i have:
> *clientCustomerId : 'xxx-xxx'* - took from the mcc account(top right)
> *client_id: 'xxx-xx-xx'* - took from the application(
> https://code.google.com/apis/console)
> *client_secret:'xxx-xx-xx'* - took from the application(
> https://code.google.com/apis/console)
> *refresh_token: 'xxx-xx-x'* - get it using GetRefreshToken.php from the 
> client library. The request is:
>
> https://accounts.google.com/o/oauth2/auth?response_type=code&client_id=.apps.googleusercontent.com&redirect_uri=http%3A%2F%2Fdomain.com%2Fadwords%2Ftest.php&scope=https%3A%2F%2Fadwords.google.com%2Fapi%2Fadwords%2F&access_type=offline
>
> The soap_xml.log file looks like:
> [Dec 03 2013 16:18:39.00 - ERROR] POST 
> /api/adwords/cm/v201309/CampaignService?access_token=ya29.1.AADtN_WUH1UVGTrvURQjhSqOecczcIyMAcshHrkKYwH-cW-r7BqbARbZMbv_ylVloeg1ua4
>  
> HTTP/1.1
> Host: adwords.google.com
> Connection: Keep-Alive
> User-Agent: PHP-SOAP/5.4.15, gzip
> Accept-Encoding: gzip, deflate
> Content-Encoding: gzip
> Content-Type: text/xml; charset=utf-8
> SOAPAction: ""
> Content-Length: 370
>
> 
> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:ns1="
> https://adwords.google.com/api/adwords/cm/v201309";>
>   
> 
>   xxx-xxx-xxx
>   
>   xx (AwApi-PHP/4.6.1, Common-PHP/5.0.0, 
> PHP/5.4.15)
> 
>   
>   
> 
>   
> Id
> Name
>   
> 
>   
> 
>
> HTTP/1.1 500 Internal Server Error
> Content-Type: text/xml; charset=UTF-8
> Content-Encoding: gzip
> Date: Tue, 03 Dec 2013 21:18:34 GMT
> Expires: Tue, 03 Dec 2013 21:18:34 GMT
> Cache-Control: private, max-age=0
> X-Content-Type-Options: nosniff
> X-Frame-Options: SAMEORIGIN
> X-XSS-Protection: 1; mode=block
> Content-Length: 509
> Server: GSE
>
> 
> http://schemas.xmlsoap.org/soap/envelope/";>
>   
> https://adwords.google.com/api/adwords/cm/v201309";>
>   0004eca7d6d4b7680ae5cb08302a
>   CampaignService
>   get
>   0
>   130
> 
>   
>   
> 
>   soap:Server
>   [AuthorizationError.USER_PERMISSION_DENIED @ ; 
> trigger:'']
>   
> https://adwords.google.com/api/adwords/cm/v201309";>
>   [AuthorizationError.USER_PERMISSION_DENIED @ ; 
> trigger:'']
>   
> ApiException
>   http://www.w3.org/2001/XMLSchema-instance"; 
> xsi:type="AuthorizationError">
> 
> 
> 
> AuthorizationError.USER_PERMISSION_DENIED
> AuthorizationError
> USER_PERMISSION_DENIED
>   
> 
>   
> 
>   
> 
>
> The request_info.log:
> [Dec 03 2013 16:18:39.00 - ERROR] email= effectiveUser=xxx-xxx- 
> service=CampaignService method=get operators={} responseTime=130 
> requestId=0004eca7d6d4b7680ae5cb08302a operations=0 units= server=
> adwords.google.com isFault=true 
> faultMessage=[AuthorizationError.USER_PERMISSION_DENIED @ ; 
> trigger:'']
>
> I don't know what i am doing wrong.
> Any help is appreciated.
>
> Thanks,
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Invalid field to migrate v201306 to v201309

2013-12-04 Thread Takeshi Hagikura (AdWords API Team)
Hi,

As of v201309, the Stats field in service calls (such as CampaignService) 
have been removed. 
Please use reports instead. (see the blog 
post 
http://googleadsdeveloper.blogspot.jp/2013/10/adwords-api-how-to-migrate-from-stats.html)

Best,
- Takeshi, AdWords API Team

On Thursday, November 28, 2013 9:18:28 PM UTC+9, Sathishkumar M wrote:
>
>
> Hi All,
>
> I'm updating my adwords version v201306 to v201309. I'm getting below 
> errors in CampaignService,
>
> [SelectorError.INVALID_FIELD_NAME @ serviceSelector; trigger:'*AverageCpc*
> ', 
> SelectorError.INVALID_FIELD_NAME @ serviceSelector; trigger:'*Cost*', 
> SelectorError.INVALID_FIELD_NAME @ serviceSelector; trigger:'*Clicks*']
>
> Anybody, please help me which service these fields are located. ?
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Invalid FROM clause

2013-12-04 Thread Takeshi Hagikura (AdWords API Team)
Hi,

If you are trying to use AWQL, the query should be sent as a post 
parameter, not as a SOAP call.
(Please see https://developers.google.com/adwords/api/docs/guides/awql)

I strongly recommend using one of the client 
libraries. 
It encapsulates the construction of the request instead of making it on 
your own.

Best,
- Takeshi, AdWords API Team

On Saturday, November 30, 2013 12:48:18 AM UTC+9, ank...@geckoboard.com 
wrote:
>
> I get an INVALID_FROM_CLAUSE error when i make the following request, 
>
> SELECT Id,Clicks 
> FROM CAMPAIGN_PERFORMANCE_REPORT 
> WHERE Id = 107370543 
> DURING 20131126,20131128
>
>
> this is the full request, (minus personal details):
>
> 
> http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance"; xmlns:tns="
> https://adwords.google.com/api/adwords/cm/v201309"; xmlns:env="
> http://www.w3.org/2003/05/soap-envelope";>
>   
> 
>   __DEV_TOKEN__
>   _AGENT_
>   126-XXX-
> 
>   
>   
> 
>   
> SELECT Id,Clicks 
> FROM CAMPAIGN_PERFORMANCE_REPORT 
> WHERE Id = 107370543 
> DURING 20131126,20131128
>   
> 
>   
> 
>
>
> Thanks in advance, :)
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: how to get ClientCustomerID after oAuth2 authorization

2013-12-04 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

Are you using the PHP library
?
You don't have to set an access token in your request. 
You need to set clientId, clientSecret, refreshToken in your 
auth.ini
.
Please read this wiki 
pagefor details.

Best,
- Takeshi, AdWords API Team

On Wednesday, December 4, 2013 7:07:45 PM UTC+9, larisa bolgova wrote:
>
> Thank you for your answering.
> I have another question.
>
> When i use oAuth2
> I recieve 
> {
> "access_token":"1/fFAGRNJru1FTz70BzhT3Zg",
> "expires_in":3920,
> "token_type":"Bearer",
> "refresh_token":"1/xEoDL4iW3cxlI7yDbSRFYNG01kVKM2C-259HOF2aQbI"
> }
>
> how could i make first adwords api call, using access token?
>
> when i try to create 
>
> *$user = new AdWordsUser();*
> and then
> *$managedCustomerService = $user->GetService('ManagedCustomerService', 
> 'v201306');*
>
> i have the -  *Validation failed for [email] with value []: email is 
> required and cannot be NULL. *error
>
> but when i try to fill  *$user = new AdWordsUser(); parametrs* (developer 
> token and access token) i face the -   
> *AuthenticationError.GOOGLE_ACCOUNT_COOKIE_INVALID* error 
>
> What i did wrong?
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Reading stats from reports, sorting them and displaying them on UI (Without saving to files)

2013-12-04 Thread Takeshi Hagikura (AdWords API Team)
Hi naman,

The report result is returned as an InputStream. 
It doesn't have the method that reads a stream line by line.
You need to implement that part to detect a line break.

Best,
- Takeshi, AdWords API Team

On Wednesday, December 4, 2013 11:34:52 PM UTC+9, naman jindal wrote:
>
> Hi Takeshi,
>
> Thanks for your reply. I have made a function to sort the report. Now I 
> want to know if there is a way to read the report directly without saving 
> it to file? Forget the sorting part.
> I just want to read the report without saving it to file. I know one way 
> of using the response object as:
>
> ReportDownloadResponse response = new 
> ReportDownloader(session).downloadReport(query, DownloadFormat.CSV);
>
> String str = "";
> int i,n = 0;
> char c;
> while((i=response.getInputStream().read())!=-1)
> {
>
> //Do something
>
> }
>
> But this reads the report character by character. I want to know if we can 
> read the report line by line or anything that is more efficient.
>
> Thanks for your time.
>
> Regards,
> Naman Jindal
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Does the current status of the campaign affect historical keyword download?

2013-12-04 Thread Takeshi Hagikura (AdWords API Team)
Hi Peter,

If the current status is ACTIVE, you should get the keywords. 
But as far as I remember if the keywords don't have impressions within the 
DateRange, it will not be returned. (This behavior isn't relevant where the 
Campaign status is active or not).
Do you have your account? I think the best way is try it.

Best,
- Takeshi, AdWords API Team

On Wednesday, December 4, 2013 11:52:08 PM UTC+9, Peter Kingswell wrote:
>
> Hi Takeshi,
>
> let's say it's Monday and you have a paused campaign with keywords.  On 
> Friday you re-enable it and then download Monday's keywords (using 
> Selector.DateRange and "CampaignStatus" == "ACTIVE" and "Status" == 
> "ACTIVE").  Will you get those keywords?  And if so, what will their 
> Clicks, Impressions and Status fields contain?
>
> Thanks, Peter
>
> On Wednesday, December 4, 2013 12:21:31 AM UTC-5, Takeshi Hagikura 
> (AdWords API Team) wrote:
>>
>> Hi Peter,
>>
>> It's expected. 
>> The predicate doesn't take historical statuses into account. 
>>
>> Best,
>> - Takeshi, AdWords API Team
>>
>> On Wednesday, December 4, 2013 6:33:10 AM UTC+9, Peter Kingswell wrote:
>>>
>>> Hi,
>>>
>>> I'm seeing some unexpected behaviour from the reporting API.
>>>
>>> Let's say it's Friday and you download Monday's keywords (filtering on 
>>> "CampaignStatus" == "ACTIVE") for an account with one active campaign. 
>>>  Keywords are returned.  Then you pause the campaign and download Monday's 
>>> keywords again (filtering on "CampaignStatus" == "ACTIVE").  This time no 
>>> keywords are returned.
>>>
>>> This to me is unexpected behaviour.  On Monday the campaign was active 
>>> and that's all that matters - the fact that it's now (i.e. on Friday) 
>>> paused is of no relevance.  Right?
>>>
>>> Thanks, Peter
>>>
>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Error running AdWords API with Google App Engine

2013-12-04 Thread Takeshi Hagikura (AdWords API Team)
Hi Andres,

I'd use appengine (aside from I'm working at Google). I don't have to set 
up my own server and there is a starter 
packoption (I'm not the 
contact person for it though)
The Java library should work on appengine (as mentioned in the blog 
post,
 
it's still experimental though). 
Basically it should work as the similar way as axis does.

As for this part,
   // Axis example
Selector selector = new Selector();
selector.setFields(new String[]{"Login", "CustomerId",  "Name"});

You need to write it like this using jax-ws. The Selector in jax-ws doens't 
have setFields method.
Selector selector = new Selector();

selector.getFields().addAll(Lists.newArrayList(
"Login",
"CustomerId",
"Name"));

Also, if you are not stick to Java, you have a python option that has a 
demo app as you know.
Best,
- Takeshi, AdWords API Team

On Wednesday, December 4, 2013 10:30:13 PM UTC+9, Anders H wrote:
>
> Hi Takeshi,
>
> I am quite new to both AdWords API and axis / jaxws, but as I understand 
> it jaxws has a subset of the functionality of axis. Will this give me any 
> problems with the functionality of the AdWords API compared to using axis 
> and can I still use the adwords-axis-examples from the Java Client Library 
> as a starting point for my learning in this area?
>
> One problem I have found so far after having experimented  with the 
> "GetAccountHierarchy" example (using jaxws instead of axis) is that there 
> is no setFields method in the jaxws Selector class, so hopefully there is 
> another way to select fields:
> 
> // Axis example
> Selector selector = new Selector();
> selector.setFields(new String[]{"Login", "CustomerId",  "Name"});
>
> I would really like to use Google App Engine for my project to get the 
> advantages of low maintenance and scalability, but as there is so little 
> information to find on the Internet about using AdWords API on App Engine, 
> I am quite uncertain whether the integration of the two products have 
> reached a maturity level suitable for production or if it is safer to go 
> with setting up my own server. Can you please help me with your opinion 
> about which way to go?
>
> Thanks,
> Anders
>
>
> 2013/12/4 Takeshi Hagikura (AdWords API Team) 
> 
> >
>
>> Hi Andres,
>>
>> Unfortunately there isn't a demo app for appengine using the Java client 
>> library. 
>>
>> Best,
>> - Takeshi, 
>>
>>
>> On Tuesday, December 3, 2013 8:58:20 PM UTC+9, Anders H wrote:
>>>
>>> Hi Takeshi,
>>>
>>> Thank you for your suggestion. I will have at look at it and write back 
>>> with my results when I have finished testing.
>>>
>>> Are there any up to date Java demo applications available for using 
>>> AdWords API on App Engine? I was thinking of something like this Python 
>>> demo:
>>> https://developers.google.com/adwords/api/docs/demo-apps?hl=
>>> da#awapi_app_engine_python
>>>
>>> Thanks,
>>> Anders
>>>
>>> Den fredag den 29. november 2013 07.18.25 UTC+1 skrev Takeshi Hagikura 
>>> (AdWords API Team):

 Hi Anders,

 Due to the security protection for appengine, currently SOAP calls by 
 axis are not allowed. 
 You should be able to make a call with the jaxws 
 modules
 . 
 Can you please try that?

 Best,
 - Takeshi, AdWords API Team

 On Wednesday, November 27, 2013 6:29:18 PM UTC+9, Anders H wrote:
>
> I am working on an App Engine Java project that tries to get a list of 
> clients from a MCC Test Account. The project is using the Java Client 
> Library.
>
> The application is working when running locally on the devserver, but 
> when running on appspot the statement:
>
> *page = managedCustomerService.get(selector);*
>>
>  
> throws the following exception:
>
> AxisFault
>  faultCode: 
> {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
>  faultSubcode: 
>  faultString: java.net.SocketException: Permission denied: Attempt to 
> access a blocked recipient without permission. (mapped-IPv4)
>
> As I was in doubt which forum was best to ask this kind of question that 
> includes both AdWords API and App Engine, I have already posted further 
> details in the App Engine forum: 
> http://stackoverflow.com/questions/20192725/java-socket-exception-when-running-google-adwords-api-on-google-app-engine
>
> Could this be an error with the AdWords API / App Engine support or am I 
> missing something?
>
> Thanks,
> Anders
>
>
>
>
>  -- 
>> -- 
>> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>> Also find us

Re: Problem api adword

2013-12-04 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

Can you use the exact same script as the 
AddTextAds.php
 first?
In your code where this part came from?
  $textAd->AdType = "TextAd";
I think you don't have to specify AdType here.

Best,
- Takeshi

On Thursday, December 5, 2013 12:58:27 AM UTC+9, KAMOUN Ilyess wrote:
>
> Hi Team;
>  i like add new TextAds to my adgroup what example i use please ? you 
> should me AddTextAds.php
> ? thank you in advance
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Auction Insights Report

2013-12-04 Thread Takeshi Hagikura (AdWords API Team)
Hi,

At this moment, no specific timelines for it yet. 
Once it's available we'll announce it on the blog and the release note.

Best,
- Takeshi, 

On Wednesday, December 4, 2013 1:14:17 AM UTC+9, Daniel Gilbert wrote:
>
> This thread has been running for almost a year now! Any timelines on when 
> this might be accessible via the API? Or has anyone worked out a way to 
> access this data any other way?
>
> On Tuesday, November 26, 2013 3:45:14 AM UTC, Takeshi Hagikura (AdWords 
> API Team) wrote:
>>
>> Hi Jeremy, 
>>
>> It's not available at this moment. 
>>
>> Best,
>> - Takeshi, AdWords API Team
>>
>> On Friday, November 22, 2013 10:42:23 PM UTC+9, Jeremy Aube wrote:
>>>
>>> Just wanted to see if this might be available now.
>>>
>>> On Monday, April 1, 2013 3:24:20 AM UTC-4, Takeshi Hagikura (AdWords API 
>>> Team) wrote:

 Hi Anže,

 At this moment, we don't have the specific time frame when auction 
 insights will be available in API.  
 And currently it's not available to pull it automatically.

 Best,
 - Takeshi

 On Friday, March 29, 2013 10:18:40 PM UTC+9, Horhe wrote:
>
> Hello Takeshi,
>
> I am wondering when will AuctionInsights be available in API? There 
> must be a way how to import these data to other external systems 
> otherwise 
> these stats are not useful. Is there any other alternative way how to 
> import these data automatically, I believe not.
>
> Best regards, Anže
>
> On Friday, February 8, 2013 10:08:17 AM UTC+1, Takeshi Hagikura 
> (AdWords API Team) wrote:
>>
>> Hello Arati,
>>
>> No, it's not available yet.
>>
>> Best,
>> - Takeshi
>>
>> On Friday, February 8, 2013 4:58:45 PM UTC+9, Arati wrote:
>>>
>>> Hi Takeshi,
>>>
>>> Is this feature Auction Insight Report now available using Adword 
>>> api ?
>>>
>>> - Arati.
>>>
>>> On Friday, January 18, 2013 11:37:09 AM UTC+5:30, Takeshi Hagikura 
>>> (AdWords API Team) wrote:

 Hi Allen,

 We have it in our future plan, but don't have timeline for it yet.

 Best,
 - Takeshi

 On Thursday, January 17, 2013 10:28:38 AM UTC+9, Allen wrote:
>
> Hi Anash,
>
> Any update on the timeline for this?
>
> --Allen
>
> On Monday, 28 May 2012 07:46:55 UTC+10, Allen wrote:
>>
>> Can we reproduce the Auction Insights report via the API? 
>>
>> If not is there any timeline as to when it might be available?
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Getting ad groups audience bids adjustments and targeting settings via API

2013-12-04 Thread Takeshi Hagikura (AdWords API Team)
Hi, 

As for the setting for "'Target and Bid'" and "Bid Only", you can configure 
it using targetAll in TargetingSettingDetail
https://developers.google.com/adwords/api/docs/reference/v201309/AdGroupService.TargetingSettingDetail

Best,
- Takeshi, AdWords API Team

On Wednesday, December 4, 2013 1:23:09 PM UTC+9, Takeshi Hagikura (AdWords 
API Team) wrote:
>
> Hi Anil,
>
> You can use bidModifier field of the 
> BiddableAdGroupCriterion
>  to 
> know the bid adjustments.
> Please see this guide for more details 
> https://developers.google.com/adwords/api/docs/guides/bidding#content-dimensions
> .
>
> Best,
> - Takeshi, AdWords API Team
>
> On Monday, December 2, 2013 7:02:29 PM UTC+9, Anil wrote:
>>
>> Hi,
>>
>> Using which API service we can get ad groups audience bids adjustments 
>> and targeting settings via API? 
>> Audience Performance Report seems does not contain Targeting Setting type.
>>
>> Thanks.
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.