Re: Youtube ADs data - No API and now a change to emails?

2014-11-26 Thread Francesco Boano
Hi Max, I have the same problem, did you come up with a solution ?, no far 
I had no solution from Google
I'm rather dejected to implement google-login for downlaoding the csv file.
Francesco

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/34a8ef12-ebde-487f-8ce0-10d1d0feb43e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


java.lang.NullPointerException after trying to get traffic estimations

2014-11-26 Thread Jorge Brasil
Hi, 

After following all the instructions and spending a lot of time reading 
this forum I'm still getting that message when trying to get traffic 
estimations.

I had an application running on V201404 which has been discontinued so I 
start my migration process. After running into to several issues I've 
decide to use adwords examples to figure out what was going on.

I've followed every step that is on your git hub rep, download Jar import 
the project and then start to use it.

what is strange is that some of the examples run without issues but the 
traffic estimations don't, not for v201406 or for v201409 so I think that I 
can assume that my credentials file is ok.

I didn't make any changes, I'm using everything as it is is the website but 
that error message keeps poping everytime that I try and get traffic 
estimations.

I really need some help and I've tried everything, even making the requests 
using python(the outcome was the same null).

Thanks in advance

Jorge Brasil

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/488f2283-a4d8-4059-a9da-ebe71f965f51%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Handle Authentication error when user logged in with non adwords account using Adwords API

2014-11-26 Thread Danial Klimkin
Hello Raman,


I don't understand the question. If user logged in under a login w/o 
AdWords account, you'll get a NOT_ADS_USER error.

You can send the user to the login page then to re-auth.


-Danial, AdWords API Team.


On Tuesday, November 25, 2014 8:58:53 AM UTC+3, raman kumar wrote:

 Hello,

 Is there any way to handle Authentication error in PHP when user logged in 
 with non adwords account using Adwords API?

 Any help regarding this is highly apperciable.

 Waiting for the response.

 With Regards,
 Raman


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/e2ed0ebb-b9e4-4795-877d-f032c3d27e9e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Retreiving structural data for sitelinks

2014-11-26 Thread Visar
Hi,

I'm having a little trouble using the API to retrieve structural data on 
sitelinks within an account. What I'm looking to do is to construct a list 
of which sitelinks belong to which campaigns (this is unavailable in the 
reports due to the lack of Zero Impressions support).

Ideally data which could be placed into a table of the form:

CampaignID   SitelinkID
01   1123412
01   1232349
02   2342342
etc..

Given that I have an exhaustive list of all the campaign IDs and sitelink 
IDs (as placeholder feed item IDs), could someone please illustrate how 
this could be done, i.e which services to use and how to actually use them. 
Please be as detailed as possible. I'm currently using PHP but can work 
with any language.

Cheers

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1f47ca33-1fbc-4014-82e8-91669aa1c3f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Retreiving structural data for sitelinks

2014-11-26 Thread Anash P. Oommen (AdWords API Team)
Hi Visar,

You need to use the CampaignFeedService to retrieve the MatchingFunction 
and then parse it to identify the FeedItems that are associated with a 
campaign. The C# code to do this looks :

private CampaignFeed[] GetCampaignFeeds(AdWordsUser user, Feed feed) {
  CampaignFeedService campaignFeedService = (CampaignFeedService) user.
GetService(
  AdWordsService.v201409.CampaignFeedService);
 
  CampaignFeedPage page = campaignFeedService.query(string.Format(
  SELECT CampaignId, MatchingFunction where  + 
  Status='ENABLED'and FeedId = '{0}' and PlaceholderTypes=1, feed.id
));
  return page.entries;
}

private Listlong GetFeedItemsForCampaign(CampaignFeed campaignFeed) {
  Listlong feedItems = new Listlong();
  if (campaignFeed.matchingFunction.lhsOperand.Length == 1 
  campaignFeed.matchingFunction.lhsOperand[0] is RequestContextOperand 

  (campaignFeed.matchingFunction.lhsOperand[0] as
   RequestContextOperand).contextType ==
   RequestContextOperandContextType.FEED_ITEM_ID 
  campaignFeed.matchingFunction.@operator == FunctionOperator.IN) {
foreach (ConstantOperand argument in campaignFeed.matchingFunction.
rhsOperand) {
  feedItems.Add(argument.longValue);
}
  }
  return feedItems;
}


GetFeedItemsForCampaign only handles the simplest of the cases (FEEDITEM_ID 
IN [id1, id2, id3]). In theory, the matchingfunction can be an arbitrary 
expression tree, but if you stick to what the UI can do, then it is 
restricted to (FEEDITEM_ID IN [id1, id2, id3]) and DEVICE_PLATFORM = 
'Mobile'

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Wednesday, November 26, 2014 6:23:50 AM UTC-5, Visar wrote:

 Hi,

 I'm having a little trouble using the API to retrieve structural data on 
 sitelinks within an account. What I'm looking to do is to construct a list 
 of which sitelinks belong to which campaigns (this is unavailable in the 
 reports due to the lack of Zero Impressions support).

 Ideally data which could be placed into a table of the form:

 CampaignID   SitelinkID
 01   1123412
 01   1232349
 02   2342342
 etc..

 Given that I have an exhaustive list of all the campaign IDs and sitelink 
 IDs (as placeholder feed item IDs), could someone please illustrate how 
 this could be done, i.e which services to use and how to actually use them. 
 Please be as detailed as possible. I'm currently using PHP but can work 
 with any language.

 Cheers


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/25f7707e-3b8d-41f5-99aa-b33f4520fa3b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: java.lang.NullPointerException after trying to get traffic estimations

2014-11-26 Thread Anash P. Oommen (AdWords API Team)
Hi Jorge,

If you can capture a SOAP request and response XML and post it after 
removing the credentials and developerToken from the request XML, it would 
be most useful. See 
https://github.com/googleads/googleads-java-lib#how-do-i-enable-logging for 
details on how to capture SOAP logs using Java library.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Tuesday, November 25, 2014 10:48:05 AM UTC-5, Jorge Brasil wrote:

 Hi, 

 After following all the instructions and spending a lot of time reading 
 this forum I'm still getting that message when trying to get traffic 
 estimations.

 I had an application running on V201404 which has been discontinued so I 
 start my migration process. After running into to several issues I've 
 decide to use adwords examples to figure out what was going on.

 I've followed every step that is on your git hub rep, download Jar import 
 the project and then start to use it.

 what is strange is that some of the examples run without issues but the 
 traffic estimations don't, not for v201406 or for v201409 so I think that I 
 can assume that my credentials file is ok.

 I didn't make any changes, I'm using everything as it is is the website 
 but that error message keeps poping everytime that I try and get traffic 
 estimations.

 I really need some help and I've tried everything, even making the 
 requests using python(the outcome was the same null).

 Thanks in advance

 Jorge Brasil


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/0dac468e-5a6c-4d07-9c50-5e0d7a6435ad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: HourOfDay returns 400 on AdGroup

2014-11-26 Thread Anash P. Oommen (AdWords API Team)
Hi Jakub,

Can you please use the Reply to Author option to share with me the report 
definition you are using, and your customer ID? I can investigate this 
further.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Monday, November 24, 2014 12:18:19 PM UTC-5, Jakub Jirka wrote:

 Hello I have a problem with the AdGroup performance HourOfDay parameter 
 report.

 According to 
 https://developers.google.com/adwords/api/docs/appendix/reports#ad-group 
 I create a query that without the field HourOfDay returns metric values for 
 cost and impressions. But when I run the query on the same account with the 
 HourOfDay field request returns 400.

 Can you please help me or give me a hint of what might be wrong?

 Thank you.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/02b7fd48-c469-4190-8e52-ffc4f66dfec1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Youtube ADs data - No API and now a change to emails?

2014-11-26 Thread max
Hi Francesco - unfortunately we have not found any solutions - we are 
currently manually downloading the files and the uploading them - really 
not great. It seems there are no plans to add youtube data to the API and 
the login is here to stay

On Wednesday, November 26, 2014 8:35:29 AM UTC, Francesco Boano wrote:

 Hi Max, I have the same problem, did you come up with a solution ?, no far 
 I had no solution from Google
 I'm rather dejected to implement google-login for downlaoding the csv file.
 Francesco


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/94fd34b4-daf1-4604-bf88-bced56af32b6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Youtube ADs data - No API and now a change to emails?

2014-11-26 Thread max
Hi again Francesco, quick question - how would using google-login work?

On Wednesday, November 26, 2014 8:35:29 AM UTC, Francesco Boano wrote:

 Hi Max, I have the same problem, did you come up with a solution ?, no far 
 I had no solution from Google
 I'm rather dejected to implement google-login for downlaoding the csv file.
 Francesco


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/9a4bad64-39b3-4b7d-bb74-2a5e17580d12%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: setting a budget and enhanced CPC for campaings in v201409

2014-11-26 Thread András Révai
Hi Danial,

I replied but it looks like you did not receive my answer so I'm writing 
again.

The non-shared budget settings works now, thanks.

I still have a problem with Enhanced CPC though. I've tried it several ways 
but always get an error message. Can you give me an example you tested 
which actually works?

Thanks,

András

2014. november 24., hétfő 12:14:43 UTC+1 időpontban Danial Klimkin a 
következőt írta:

 Hello András,


 1. Yes, just create a budget with isExplicitShared = false.

 2. You need to use the EnhancedCpcBiddingScheme:

   
 https://developers.google.com/adwords/api/docs/reference/v201409/BiddingStrategyService.EnhancedCpcBiddingScheme


 -Danial, AdWords API Team.


 On Sunday, November 23, 2014 6:10:56 PM UTC+3, András Révai wrote:

 Hi,

 #1 Is there a way to set a non-shared budget for a campaign in version 
 v201409?

 #2 How exactly do I set Enhanced CPC for a campaign?

 Thanks,

 András






-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/6ea0efa9-6a51-4df3-9274-23e52a784a4d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: setting a budget and enhanced CPC for campaings in v201409

2014-11-26 Thread András Révai
Hello Danial,

Setting a non-shared budget works now, thanks!

I still have a problem with Enhanced CPC.

#1 If I try it this way:

$biddingStrategyConfigurationC = new 
BiddingStrategyConfiguration();
$biddingStrategyConfigurationC-biddingStrategyType = 
'ENHANCED_CPC';

$biddingScheme = new EnhancedCpcBiddingScheme();

$biddingStrategyConfigurationC-biddingScheme = $biddingScheme; 

I get BiddingErrors.INVALID_ANONYMOUS_BIDDING_STRATEGY_TYPE @ 
operations[0].operand.biddingStrategyConfiguration.biddingStrategyType; 
trigger:'ENHANCED_CPC

#2 If I do it this way:

$biddingStrategyConfigurationC = new 
BiddingStrategyConfiguration();
$biddingStrategyConfigurationC-biddingStrategyType = 
'MANUAL_CPC';

$biddingScheme = new EnhancedCpcBiddingScheme();

$biddingStrategyConfigurationC-biddingScheme = $biddingScheme; 

I get BiddingErrors.INVALID_BIDDING_SCHEME @ 
operations[0].operand.biddingStrategyConfiguration.biddingScheme; 
trigger:'The type of MANUAL_CPC requires a ManualCpcBiddingScheme but was 
EnhancedCpcBiddingScheme'

#3 The only way it works for me is this but I don't want to use a shared 
bidding strategy:

$sharedBiddingStrategyC-name = 'ENHANCED_CPC';
$sharedBiddingStrategyC-type = 'ENHANCED_CPC';  

$operation = new BiddingStrategyOperation();
$operation-operator = 'ADD';
$operation-operand = $sharedBiddingStrategyC;

try
{   
$result = 
$biddingStrategyService-mutate(array($operation));
}
catch (\Exception $e)
{
return Error while trying to set bidding: . 
$e-getMessage();
}

$biddingStrategy = $result-value[0];

$biddingStrategyConfigurationC = new 
\BiddingStrategyConfiguration();
$biddingStrategyConfigurationC-biddingStrategyId = 
$biddingStrategy-id;

Could you please give step-by-step instructions on how to do it?

#4 The code in the example file did not work either for me:

// Set bidding strategy (required).
$biddingStrategyConfiguration = new BiddingStrategyConfiguration();
$biddingStrategyConfiguration-biddingStrategyType = 'MANUAL_CPC';

// You can optionally provide a bidding scheme in place of the type.
$biddingScheme = new ManualCpcBiddingScheme();
$biddingScheme-enhancedCpcEnabled = FALSE;
$biddingStrategyConfiguration-biddingScheme = $biddingScheme;

Thanks,

András




2014. november 24., hétfő 12:14:43 UTC+1 időpontban Danial Klimkin a 
következőt írta:

 Hello András,


 1. Yes, just create a budget with isExplicitShared = false.

 2. You need to use the EnhancedCpcBiddingScheme:

   
 https://developers.google.com/adwords/api/docs/reference/v201409/BiddingStrategyService.EnhancedCpcBiddingScheme


 -Danial, AdWords API Team.


 On Sunday, November 23, 2014 6:10:56 PM UTC+3, András Révai wrote:

 Hi,

 #1 Is there a way to set a non-shared budget for a campaign in version 
 v201409?

 #2 How exactly do I set Enhanced CPC for a campaign?

 Thanks,

 András






-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/056960ea-ff62-44c2-80a2-b220a548d37f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Offline Conversions stopped showing up

2014-11-26 Thread nicola baisero
Hi there, we're having some issues sending conversions through the adwords 
API (those used in [1]).

We managed to get all the authentication/authorization tokens for making 
the adwords session work (we based our code on the examples in attached 
java client in [1], and we generated the refresh token with the 
adwords.axis.auth.GetRefreshToken utility from [2]). We also sent a bunch 
of conversions until the 8th of november, and we saw them tracked in the 
google's Adwords account page correctly. Then, we pushed some more 
conversions until 14th of november, then on sunday 16 november (conversions 
sent were about the entire day of saturday 15 november and part of sunday): 
so we went even further, automating the offline conversions sending every 
day.

The problem is that in our Adwords account page we don't see any conversion 
after the 8th of november. Even stranger, on 14th of november we were 
seeing conversions until that day, but some day later those conversions 
disappeared, and only the conversions until the 8th of november remained.

The conversions sending in API lead near-always to the same feedback, i.e. 
some EXPIRED_CLICK or CONVERSION_PRECEDES_CLICK, related to few conversions 
of those sent, before and after the 14th of november. The source code 
pushing conversions is the same (java, v201409). In those days we switched 
from a basic access api token to a standard access api token (it could be 
helpful for troubleshooting).

Here follows the inspection of the 
com.google.api.ads.adwords.axis.v201409.cm.OfflineConversionFeedOperation 
object that carries a single conversion:

itemOfflineConversionFeed  (id=107)
__equalsCalcnull
__hashCodeCalcfalse
conversionCurrencyCodeUSD (id=111)
conversionNameimported (id=114)
conversionTime20141116 112149 Europe/Rome (id=115)
conversionValueDouble  (id=116)
value0.11
googleClickIdexamplevalue (id=119)

We create a list of feed operations given a list of these instances:

OfflineConversionFeedOperation offlineConversionOperation = new 
OfflineConversionFeedOperation();
offlineConversionOperation.setOperator(Operator.ADD);
offlineConversionOperation.setOperand(enrichedConversion.conversionFeed);

and then we send them with the feed service

OfflineConversionFeedServiceInterface offlineConversionFeedService = 
adWordsServices.get(session, 
OfflineConversionFeedServiceInterface.class);
OfflineConversionFeedReturnValue offlineConversionReturnValue = 
offlineConversionFeedService
.mutate(conversionOperations.toArray(
new OfflineConversionFeedOperation[conversionOperations.size
()]));

We don't understand why we don't see conversions in our account page 
considering that the API response is successfull. Is there someone that 
could help us in the troubleshooting process? Thank you

[1]: 
https://developers.google.com/adwords/api/docs/guides/importing-conversions
[2]: 
https://github.com/googleads/googleads-java-lib/tree/master/examples/adwords_axis

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/8950bd9e-a8d6-4da2-9af3-f8f0233f94ef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Handle Authentication error when user logged in with non adwords account using Adwords API

2014-11-26 Thread Raman Dadhwal
Hello Danial,

Thanks for your valuable response.

The Adwords API version that i am using while fetching Adwords data is 
*v201409.*
Will you please guide me in displaying campaign performance data. 
I have successfully display the campaign performance report but data 
displayed on my website is not similar with data displayed in Google 
adwords account like..
1) How can i fetch the Budget field from *CAMPAIGN_PERFORMANCE_REPORT* ? 
The predicate that i have used to display the campaign data  
*new Predicate('Status', 'NOT_IN', array('REMOVED')*
which results in inaccurate *budget* in Campaign table, rest all data 
is accurate.
But when i use the below predicate i.e.,
*new Predicate('Status', 'NOT_IN', 
array('REMOVED','PAUSED')*
then the budget displayed in Campaign table is accurate,  rest all data 
is inaccurate.
2) How can i fetch the following data:




*a) Total- Display Networkb) Total- Search Networkc) Total- All but 
removed campaignsd) Total- All campaigns*Problem mentioned in First 
point persist in first two options i.e., *c) and d)* 
For last two option *a) and b)*, Google Adwords provide me any api that 
will help me in displaying data or it has been done manually ?
3) How can i fetch *Campaign Sub type* as *field* with *Campaign Sub-Type* 
does not exists in *CAMPAIGN_PERFORMANCE_REPORT* ?

Along with this, please provide me the references so that i can easily 
fetch the accurate result which is similar with the Campaign data displayed 
in Google Adwords. 
  
With Regards,
Raman

On Wednesday, November 26, 2014 4:56:22 PM UTC+5:30, Danial Klimkin wrote:

 Hello Raman,


 I don't understand the question. If user logged in under a login w/o 
 AdWords account, you'll get a NOT_ADS_USER error.

 You can send the user to the login page then to re-auth.


 -Danial, AdWords API Team.


 On Tuesday, November 25, 2014 8:58:53 AM UTC+3, raman kumar wrote:

 Hello,

 Is there any way to handle Authentication error in PHP when user logged 
 in with non adwords account using Adwords API?

 Any help regarding this is highly apperciable.

 Waiting for the response.

 With Regards,
 Raman



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/441ad90c-a1cb-45c6-a4b9-7f91869f3bb0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Best practice for downloading Report with two segments

2014-11-26 Thread Dan
Hey!

I'm trying to download a report (ACCOUNT_PERFORMANCE_REPORT) with all the 
basic stuff like Clicks, Impressions and so on.
This work great and I segment by Date so I get back data with every day 
being a new row.

My problem is with the Ctr metric. It isn't too useful having the Ctr of 
both Search Network and Content Network, so I want to segment this as well 
with AdNetworkType1.

My question is, what is the best way of getting the Ctr for the Search 
Network segment only, while still getting the other metrics with all 
networks?

Do I have to ask for two seperate reports? Or is it easier to just combine 
the metrics in my application?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/02ff3cda-54c2-428f-ad4a-c046dbdd0d4f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Retreiving structural data for sitelinks

2014-11-26 Thread Visar
Hi Anash,

That's exactly what I needed, thanks.

Visar

On Wednesday, November 26, 2014 11:53:00 AM UTC, Anash P. Oommen (AdWords 
API Team) wrote:

 Hi Visar,

 You need to use the CampaignFeedService to retrieve the MatchingFunction 
 and then parse it to identify the FeedItems that are associated with a 
 campaign. The C# code to do this looks :

 private CampaignFeed[] GetCampaignFeeds(AdWordsUser user, Feed feed) {
   CampaignFeedService campaignFeedService = (CampaignFeedService) user.
 GetService(
   AdWordsService.v201409.CampaignFeedService);
  
   CampaignFeedPage page = campaignFeedService.query(string.Format(
   SELECT CampaignId, MatchingFunction where  + 
   Status='ENABLED'and FeedId = '{0}' and PlaceholderTypes=1, feed.id
 ));
   return page.entries;
 }

 private Listlong GetFeedItemsForCampaign(CampaignFeed campaignFeed) {
   Listlong feedItems = new Listlong();
   if (campaignFeed.matchingFunction.lhsOperand.Length == 1 
   campaignFeed.matchingFunction.lhsOperand[0] is RequestContextOperand 
 
   (campaignFeed.matchingFunction.lhsOperand[0] as
RequestContextOperand).contextType ==
RequestContextOperandContextType.FEED_ITEM_ID 
   campaignFeed.matchingFunction.@operator == FunctionOperator.IN) {
 foreach (ConstantOperand argument in campaignFeed.matchingFunction.
 rhsOperand) {
   feedItems.Add(argument.longValue);
 }
   }
   return feedItems;
 }


 GetFeedItemsForCampaign only handles the simplest of the cases 
 (FEEDITEM_ID IN [id1, id2, id3]). In theory, the matchingfunction can be an 
 arbitrary expression tree, but if you stick to what the UI can do, then it 
 is restricted to (FEEDITEM_ID IN [id1, id2, id3]) and DEVICE_PLATFORM = 
 'Mobile'

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.

 On Wednesday, November 26, 2014 6:23:50 AM UTC-5, Visar wrote:

 Hi,

 I'm having a little trouble using the API to retrieve structural data on 
 sitelinks within an account. What I'm looking to do is to construct a list 
 of which sitelinks belong to which campaigns (this is unavailable in the 
 reports due to the lack of Zero Impressions support).

 Ideally data which could be placed into a table of the form:

 CampaignID   SitelinkID
 01   1123412
 01   1232349
 02   2342342
 etc..

 Given that I have an exhaustive list of all the campaign IDs and sitelink 
 IDs (as placeholder feed item IDs), could someone please illustrate how 
 this could be done, i.e which services to use and how to actually use them. 
 Please be as detailed as possible. I'm currently using PHP but can work 
 with any language.

 Cheers



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/65dfe8ef-780b-4a06-a19f-8458ffb52b36%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to get campaign budget on given date

2014-11-26 Thread Josh Radcliff (AdWords API Team)
Hi,

I think the issue here is that the *CustomerSyncService* may only support 
queries for a date range within the last 90 days. I'll post back once I've 
confirmed that's correct.

Thanks,
Josh, AdWords API Team

On Wednesday, November 26, 2014 12:05:03 AM UTC-5, seo.allia...@gmail.com 
wrote:

 Hey,

   Campaign ID is 90391873 for which i am trying to get 
 CustomerSyncService Response for 7th July 2014.

 On Tuesday, November 25, 2014 9:06:24 PM UTC+5:30, Josh Radcliff (AdWords 
 API Team) wrote:

 Hi,

 Could you provide me with the campaign ID in your request?

 Thanks,
 Josh, AdWords API Team

 On Tuesday, November 25, 2014 8:40:21 AM UTC-5, seo.allia...@gmail.com 
 wrote:

 Hi Josh,

 Thanks a lot for your response. as said in your response, i 
 tried CustomerSyncService to get account history changes. in that i tried 
 fetching history for Date Range 7-July-2014 00:00 AM to 7-July-2014 23:59 
 PM only for single Campaign but i got response as TOO_MANY_CHANGES. when i 
 logged in to adwords account and checked for changes, the only change done 
 was End Date of campaign was modified. There were only 3 rows of changes 
 done on 7th July.

 On Thursday, November 20, 2014 1:27:35 AM UTC+5:30, Josh Radcliff 
 (AdWords API Team) wrote:

 Hi,

 The report behavior is by design -- note that the *Amount* field in 
 that report is labeled as type *Attribute*. Per the *Behavior* description 
 in the Reporting documentation 
 https://developers.google.com/adwords/api/docs/appendix/reports:


 *Attribute*The field contains settings or other fixed data. The 
 values returned will always reflect the current state of the account, 
 ignoring the timespan of the report. The field is generally 
 compatible with zero-impression reports.


 The API doesn't provide budget amount history. If you want to track 
 this type of history you can either:

1. Run reports on a daily/weekly/monthly basis and store the 
results, then compare the changes over time.
2. Use CustomerSyncService to detect when a campaign has changed 
(see this post on CustomerSyncService 
https://groups.google.com/d/msg/adwords-api/pJxPuD1IKOQ/Mb2yPnjmYFwJ
).

 Cheers,
 Josh, AdWords API Team

 On Tuesday, November 18, 2014 9:32:21 AM UTC-5, seo.allia...@gmail.com 
 wrote:

 Hello all, 
   
 Is there any way to get history of budget updates on campaign 
 along with date of update. for ex. Campaign#1 has budget of $100 in 
 Oct-2014. now i changed that budget to $250 in Nov-2014 and when i am 
 trying to get Campaign Performance Report, in Budget i am getting $250 
 for 
 Oct and Nov. Actually, it should be $100 for Oct and $250 for Nov. in 
 short we are getting latest updated budget for particular campaign 
 instead 
 of history wise?



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a6941768-d216-4e8b-8f68-bace57ccf887%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Traffic Estimator Service: RateExceededError

2014-11-26 Thread Lan
We are getting the same exact error as well. We even tried rotating through 
a list of accounts and still getting the error.

On Wednesday, November 26, 2014 4:37:22 AM UTC-5, Parander wrote:

 Sorry for the me too post but I'm experiencing exactly the same problem 
 as Christian. I first encountered the problem on 24/11 and now I'm getting 
 it all the time for TrafficEstimatorService, I even manage to get it on 
 the first request of the day (hours after the previous request was made). 

 The account has been in use for a very long time and we never saw this 
 error before 24/11, we haven't increased our QPS and shouldn't be near the 
 rate limits. 

 Other functions such as TargetingIdeaService doesn't seem to be affected.

 Please advice.










-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/0168a259-7545-4ae4-bccb-e6ebeab75cfb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: False Positive Offline Conversion Post

2014-11-26 Thread chimdi
Thanks Danial, 

So, would there be any issue if I removed the offending results from the 
array and resubmitted those that were successful? Or would it make sense to 
submit individual posts for each offline conversion?

There is a considerable delay in the AdWords interface Tools  
Conversions view. And We've noticed discrepancy between that Conversion 
View and the Traffic Funnel View. The numbers do not match. 
1.) What is the generally accepted delay from post for the conversion to 
appear in the AdWords interface?
2.) What is the generally accepted delay from post for the conversion to 
appear when we Call KEYWORDS_PERFORMANCE_REPORT or 
CAMPAIGN_PERFORMANCE_REPORT Requests?
3.) Would you suggest using the API to view results or the AdWords Web 
Interface?

Chimdi-
On Tuesday, November 25, 2014 4:47:29 AM UTC-8, Danial Klimkin wrote:

 Hello,


 Please note conversion uploads are atomic. So if you submit 3 conversions 
 and one results in the error, none of them are uploaded, though you don't 
 get errors for two of them.


 -Danial, AdWords API Team.


 On Tuesday, November 25, 2014 2:43:54 AM UTC+3, chi...@wpromote.com wrote:

 Anyone having an issue with false positives when submitting an offline 
 conversion? I noticed that not all of my conversions are showing up in 
 Adwords but I get a successful response (no errors). I check the soap log 
 and there's no evidence of failure. 



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/4f7045eb-fff0-48c0-bd10-34234c94f261%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.