Re: Cannot get removed FeedMapping using FeedMappingService

2015-11-25 Thread Petter
Hi Josh,

This is screenshot on website & service response:









On Wednesday, November 25, 2015 at 10:00:36 PM UTC+7, Josh Radcliff 
(AdWords API Team) wrote:
>
> Hi,
>
> Could you send the screenshot of where you are seeing the *FeedMapping* is 
> removed? Generally speaking, *FeedMapping*s aren't directly visible in 
> the user interface. The presence of a *FeedMapping* for a given 
> placeholderType 
> 
>  simply 
> means that when you go to the *Ad extensions* tab and choose that 
> extension type, you'll be able to select that *Feed*'s *FeedItems*. In 
> other words, a *FeedMapping* tells AdWords that the feed is eligible for 
> use in the context of the placeholder type.
>
> Are you perhaps looking at the *Account Extensions, Campaign Extension, *or 
> *Ad Extension* sub tabs on the *Ad extensions* tab? If so, those 
> correspond to *CustomerFeed, CampaignFeed, *and* AdGroupFeed* objects 
> rather than *FeedMappings*. Looking at that feed, I see that it has a 
> *REMOVED* *CustomerFeed* for placeholder type 3.
>
> CustomerFeedService.query 
> 
> :
> SELECT FeedId, MatchingFunction, PlaceholderTypes, Status WHERE FeedId = 
> 31616776
>
> *Result:*
> 
>   31616776
>   
>   ...
>   
>   3
>   REMOVED
> 
>
> Cheers,
> Josh, AdWords API Team
>
> On Tuesday, November 24, 2015 at 8:42:23 PM UTC-5, Petter wrote:
>>
>> Hi Josh,
>>
>> I see service API response *FeedMapping *is *ENABLED*. But on the 
>> AdWords website it is *REMOVED.*
>>
>> On Tuesday, November 24, 2015 at 8:27:36 PM UTC+7, Josh Radcliff (AdWords 
>> API Team) wrote:
>>>
>>> Hi,
>>>
>>> Thanks for sending over the IDs. The issue here is that that 
>>> *FeedMapping* is actually *ENABLED*.
>>>
>>> 
>>>   34553692
>>>   31616776
>>>   3
>>>   ENABLED
>>> 
>>>
>>> So your predicate on *Status EQUALS REMOVED* is excluding that object.
>>>
>>> Cheers,
>>> Josh, AdWords API Team
>>>
>>> On Monday, November 23, 2015 at 9:52:55 PM UTC-5, Petter wrote:

 Hi Josh,

 Please check information of Feed as following:

 FeedId = 31616776
 FeedMappingId = 34553692

 Thanks.

 On Tuesday, November 24, 2015 at 12:19:14 AM UTC+7, Josh Radcliff 
 (AdWords API Team) wrote:
>
> Hi,
>
> Could you send me the feed ID or feed mapping ID of the *FeedMapping* 
> that 
> you are expecting to see in the result?
>
> Thanks,
> Josh, AdWords API Team
>
> On Sunday, November 22, 2015 at 8:17:17 PM UTC-5, Petter wrote:
>>
>> Hi Umesh,
>>
>> This is selector in my code:
>>
>>  var selector = new Selector
>> {
>> fields = new[] { "AttributeFieldMappings", "FeedId", 
>> "FeedMappingId", "PlaceholderType", "Status" },
>> predicates = new[]
>>  {
>>  new Predicate { field = 
>> "PlaceholderType", @operator = PredicateOperator.EQUALS, values = new[] 
>> { 
>> "3" } },
>>  new Predicate { field = 
>> "Status", @operator = PredicateOperator.EQUALS, values = new[] { 
>> "REMOVED" 
>> } }
>>  }
>> };
>>
>> Thanks.
>>
>> On Friday, November 20, 2015 at 11:29:49 PM UTC+7, Umesh Dengale 
>> wrote:
>>>
>>> Hello,
>>>
>>> Could you specify the list of fields to select from the FeedMapping 
>>> 
>>>  in 
>>> your code?  Please see this link 
>>> 
>>>  for 
>>> selector fields 
>>> 
>>>  available 
>>> to the FeedMappingService. Please check out Selector 
>>> 
>>>  document 
>>> for more details. 
>>>
>>> Regards,
>>> Umesh, AdWords API Team.
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 gro

Re: CPC for each click

2015-11-25 Thread Umesh Dengale
Hi Eric,

The AdWords API reports do not provide CPC information. The reports have 
averageCPC 

 field.

Regards,
Umesh, AdWords API Team.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/e3a5bcef-827f-45a9-88ef-bcd1c0aaf3de%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


CPC for each click

2015-11-25 Thread Eric Kruzicky
Hi there,
I need to have the CPC  for each click. Where can I found it?
I don't need an average CPC, I need a CPC for each click.
CLICK_PERFORMANCE report doesn't have it.

Please advice.
Thanks,

Eric

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/68a0528e-de63-438d-a6df-6de78855a1c8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Offline Conversions - UNPARSEABLE_GCLID

2015-11-25 Thread OMCC
Hi,

The error seems to have returned and we've found two of the GCLIDs in the 
click performance report. We are sending the logs.


On Tuesday, November 24, 2015 at 9:18:20 AM UTC-5, Umesh Dengale wrote:
>
> Hello,
>
> I am glad that you found the solution. Let us know if you need help with 
> any other issues.
>
> Thanks,
> Umesh, AdWords API Team.
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/5e27a997-8b07-4d64-9c9e-432c28b039fb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


activeViewCpmEnabled field has been sunset in AdWords API

2015-11-25 Thread Anash P. Oommen (AdWords API Team)


We recently completed 
 
upgrading all display CPM campaigns on the Google Display Network (GDN) to 
viewable CPM (vCPM) campaigns. As a result, setting the activeViewCpmEnabled 

 
field of ManualCpmBiddingScheme will no longer have any effect. This field 
will be removed in the next version of the AdWords API.

You can learn more about vCPM on our AdWords Help Center 
. As always, if you have 
any questions, comments, or concerns, please contact us via the forum 
 or the Ads Developers 
Plus Page .

Cheers,

Thanet Praneenararat,

AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/77487244-35e9-4107-9cfc-cb74214d5012%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Goggle adwords api unable to fetch video campaigns

2015-11-25 Thread Umesh Dengale
Hello,

The AdWords API v201509 does not support get and mutate operations for the 
video campaigns. The API supports TrueView campaigns that have migrated 
from AdWords for video, and several reports now include statistics and new 
metrics for these campaigns. The new VIDEO_PERFORMANCE_REPORT 

 will give statistics for your account's upgraded AdWords for Video 
campaigns.

The video and multi-channel reporting changes 
 section 
of the release notes covers the video campaign related changes. Please 
check release notes 
 for complete 
lists of changes and added features.

Cheers,
Umesh, AdWords API Team.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ccc83b2d-6de6-4c1b-b97e-1533c012dbcd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Managing segmented requests for large accounts - at scale

2015-11-25 Thread Sam
Great, makes sense.

Thanks Umesh!

On Wednesday, 25 November 2015 15:47:15 UTC, Umesh Dengale wrote:
>
> Hi Sam,
>
> In the AdWords API, when the start index of the request is 100,000 then 
> *SelectorError.START_INDEX_IS_TOO_HIGH *error occurs. You could narrow 
> the query as much as possible using predicates to avoid this limit when 
> retrieving a large result set. I would recommend using the option 2 (for 
> the big account retrieving data campaign by campaign and for the smaller 
> account get the account level).  Please check out our rate limit  
> guide 
> for more details.
>
> Cheers,
> Umesh, AdWords API Team.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/15afdb97-996c-4884-bce5-44db238285f9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Managing segmented requests for large accounts - at scale

2015-11-25 Thread Umesh Dengale
Hi Sam,

In the AdWords API, when the start index of the request is 100,000 then 
*SelectorError.START_INDEX_IS_TOO_HIGH *error occurs. You could narrow the 
query as much as possible using predicates to avoid this limit when 
retrieving a large result set. I would recommend using the option 2 (for 
the big account retrieving data campaign by campaign and for the smaller 
account get the account level).  Please check out our rate limit  
guide 
for more details.

Cheers,
Umesh, AdWords API Team.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c5740950-bc15-4f50-a730-3677c3109384%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: reporting issues

2015-11-25 Thread Anthony Madrigal
Hi Rakesh,

This question seems better suited for the AdWords Community Forum 
.
 
They should be able to assist you there.

If you have any future AdWords API specific questions, please let us know.

Cheers,
Anthony
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/78c32693-fcc4-428a-b0d5-d50ceb5928c8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Invalid grant when using Token Refresh

2015-11-25 Thread Josh Radcliff (AdWords API Team)
Hi,

Thanks for providing all of those details. Since you found that the tokens 
that were giving invalid grant eventually worked again, this suggests a 
temporary issue with generating access tokens. When you encounter these 
failures, do you wait (with exponential backoff) and retry? I suspect that 
you'll find that waiting and retrying will fix this in almost all cases.

Regarding the URLs, the *Auth Url* looks correct, but according to the latest 
OAuth2 guide 
, 
ideally you should use *https://www.googleapis.com/oauth2/v3/token* to 
retrieve new access tokens. However, I confirmed that the URL you are using 
does still work, so I don't think that's the source of this problem.

Thanks,
Josh, AdWords API Team

On Wednesday, November 25, 2015 at 8:43:17 AM UTC-5, jnewman0...@gmail.com 
wrote:
>
> Just noticed our urls are different then what I posted.
>
> Auth Url:
> https://accounts.google.com/o/oauth2/auth?
>
> Token Url:
> https://accounts.google.com/o/oauth2/token
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/7d26ab23-bc16-448d-85db-629c65033ccd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Goggle adwords api unable to fetch video campaigns

2015-11-25 Thread Santosh Kilari
Where using google api v201509 php sdk. 

$user->GetService('CampaignService', ADWORDS_VERSION);

We are using above method to fetch campaigns but the issue is we are unable 
to get video campaigns is there is another way to fetch. Please give me a 
solution. 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d6695b4b-d2cc-4e75-948d-eb3197a69af1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Cannot get removed FeedMapping using FeedMappingService

2015-11-25 Thread Josh Radcliff (AdWords API Team)
Hi,

Could you send the screenshot of where you are seeing the *FeedMapping* is 
removed? Generally speaking, *FeedMapping*s aren't directly visible in the 
user interface. The presence of a *FeedMapping* for a given placeholderType 

 simply 
means that when you go to the *Ad extensions* tab and choose that extension 
type, you'll be able to select that *Feed*'s *FeedItems*. In other words, a 
*FeedMapping* tells AdWords that the feed is eligible for use in the 
context of the placeholder type.

Are you perhaps looking at the *Account Extensions, Campaign Extension, *or *Ad 
Extension* sub tabs on the *Ad extensions* tab? If so, those correspond to 
*CustomerFeed, 
CampaignFeed, *and* AdGroupFeed* objects rather than *FeedMappings*. 
Looking at that feed, I see that it has a *REMOVED* *CustomerFeed* for 
placeholder type 3.

CustomerFeedService.query 

:
SELECT FeedId, MatchingFunction, PlaceholderTypes, Status WHERE FeedId = 
31616776

*Result:*

  31616776
  
  ...
  
  3
  REMOVED


Cheers,
Josh, AdWords API Team

On Tuesday, November 24, 2015 at 8:42:23 PM UTC-5, Petter wrote:
>
> Hi Josh,
>
> I see service API response *FeedMapping *is *ENABLED*. But on the AdWords 
> website it is *REMOVED.*
>
> On Tuesday, November 24, 2015 at 8:27:36 PM UTC+7, Josh Radcliff (AdWords 
> API Team) wrote:
>>
>> Hi,
>>
>> Thanks for sending over the IDs. The issue here is that that 
>> *FeedMapping* is actually *ENABLED*.
>>
>> 
>>   34553692
>>   31616776
>>   3
>>   ENABLED
>> 
>>
>> So your predicate on *Status EQUALS REMOVED* is excluding that object.
>>
>> Cheers,
>> Josh, AdWords API Team
>>
>> On Monday, November 23, 2015 at 9:52:55 PM UTC-5, Petter wrote:
>>>
>>> Hi Josh,
>>>
>>> Please check information of Feed as following:
>>>
>>> FeedId = 31616776
>>> FeedMappingId = 34553692
>>>
>>> Thanks.
>>>
>>> On Tuesday, November 24, 2015 at 12:19:14 AM UTC+7, Josh Radcliff 
>>> (AdWords API Team) wrote:

 Hi,

 Could you send me the feed ID or feed mapping ID of the *FeedMapping* that 
 you are expecting to see in the result?

 Thanks,
 Josh, AdWords API Team

 On Sunday, November 22, 2015 at 8:17:17 PM UTC-5, Petter wrote:
>
> Hi Umesh,
>
> This is selector in my code:
>
>  var selector = new Selector
> {
> fields = new[] { "AttributeFieldMappings", "FeedId", 
> "FeedMappingId", "PlaceholderType", "Status" },
> predicates = new[]
>  {
>  new Predicate { field = 
> "PlaceholderType", @operator = PredicateOperator.EQUALS, values = new[] { 
> "3" } },
>  new Predicate { field = "Status", 
> @operator = PredicateOperator.EQUALS, values = new[] { "REMOVED" } }
>  }
> };
>
> Thanks.
>
> On Friday, November 20, 2015 at 11:29:49 PM UTC+7, Umesh Dengale wrote:
>>
>> Hello,
>>
>> Could you specify the list of fields to select from the FeedMapping 
>> 
>>  in 
>> your code?  Please see this link 
>> 
>>  for 
>> selector fields 
>> 
>>  available 
>> to the FeedMappingService. Please check out Selector 
>> 
>>  document 
>> for more details. 
>>
>> Regards,
>> Umesh, AdWords API Team.
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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:/

Re: Conversions

2015-11-25 Thread Josh Radcliff (AdWords API Team)
Hi Etienne,

When you say the result is empty, do you mean it's literally the empty 
string ("")/null, or that it simply does not contain any rows of data, like 
this?



  
  
  

  
  

  


If the latter, then this is most likely due to your campaigns not having 
any impressions. You can include campaigns with zero impressions as follows:

$reportDefinition->includeZeroImpressions = true;

If that doesn't resolve it for you, could you let me know if you've tried 
the example *without* setting *filePath* to null, and if so, if the 
resulting file contained *any* data (even if it's just the empty response 
above)?

Thanks,
Josh, AdWords API Team

On Tuesday, November 24, 2015 at 6:14:04 PM UTC-5, 
etienne.veill...@admobio.com wrote:
>
> Hi Josh,
>
> I tried many things but there is something I don't understand.
>
> I added NULL to $filePath but the result is still empty.
>
> With the following code, do you see something that might help me ?
>
> I also googled a lot of request but there's no result for such specific 
> search.
>
> Thank you for your help !
>
>
> function getAccountPerformanceReport(AdWordsUser $user) {
> 
>  // Load the service.
>  $user->LoadService('ReportDefinitionService', ADWORDS_VERSION);
>
>  // Create selector.
>  $selector = new Selector();
>  $selector->fields = array(
>  'CampaignId',
>  'Impressions');
>
>  // Create report definition.
>  $reportDefinition = new ReportDefinition();
>  $reportDefinition->selector = $selector;
>  $reportDefinition->reportName = 'Criteria performance report #' . uniqid
> ();
>  $reportDefinition->dateRangeType = 'LAST_7_DAYS';
>  //$reportDefinition->reportType = 'ACCOUNT_PERFORMANCE_REPORT';
>  $reportDefinition->reportType = 'CAMPAIGN_PERFORMANCE_REPORT';
>  $reportDefinition->downloadFormat = 'XML';
>
>  // Set additional options.
>  $options = array('version' => ADWORDS_VERSION);
> 
>  $filePath = NULL;
>  
>  print ReportUtils::DownloadReport($reportDefinition, $filePath, $user, 
> $options);
>  //printf("Report with name '%s' was downloaded to '%s'.\n", 
> $reportDefinition->reportName, $filePath);
> }
>
>
> On Tuesday, November 24, 2015 at 4:24:52 PM UTC-5, Josh Radcliff (AdWords 
> API Team) wrote:
>>
>> Hi Etienne,
>>
>> You can retrieve the report as a string if you simply do not specify a 
>> *$filePath* when you cal*l ReportUtils::DownloadReport*. In that case, 
>> the return value from *ReportUtils::DownloadReport* will be the contents 
>> as a string.
>>
>>
>> https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201509/Reporting/DownloadCriteriaReport.php#L75
>>
>> Cheers,
>> Josh, AdWords API Team
>>
>> On Tuesday, November 24, 2015 at 4:18:04 PM UTC-5, 
>> etienne@admobio.com wrote:
>>>
>>> Hi Josh,
>>>
>>> I am able to download reports. I wish instead of downloading the 
>>> reports, retrieve and display the values on the screen. Is it possible ?
>>>
>>> Thank you !
>>>
>>> On Friday, November 20, 2015 at 5:38:24 PM UTC-5, Josh Radcliff (AdWords 
>>> API Team) wrote:

 Hi Etienne,

 Reporting works a bit differently, as it simply streams CSV, TSV, or 
 XML results directly (instead of using SOAP). The Reporting Basics 
 guide  
 gives 
 a good overview of how to run reports, and the examples in the PHP 
 library Reporting folder 
 
  show 
 how to use the various PHP utilities for reporting.

 Cheers,
 Josh, AdWords API Team

 On Friday, November 20, 2015 at 4:45:49 PM UTC-5, 
 etienne@admobio.com wrote:
>
> Hi Josh and thank you for your answer.
>
> I completely forgot to add the field in the selector, so it always 
> sent me an empty field. It was my mistake ... I think I'm exhausted from 
> my 
> work week.
>
> *Here's my working code:*
> function test(AdWordsUser $user) {
>  
>  $service = $user->GetService('ConversionTrackerService',
>  ADWORDS_VERSION);
>  $selector = new Selector();
>  $selector->fields = array(
>   'MostRecentConversionDate', 
>   'LastReceivedRequestTime'
>  );
>  
>  $data = $service->get($selector);
>  
>  if (isset($data->entries)) {
>   print_r("");
>   print_r ($data->entries);
>   print_r("");
>  }else{
>   print "Empty";
>  }
>
> }
>
> I tried to do the same approach with the reports but the method "Get" 
> like "$data = $service->get($selector);" always returns the following 
> error: *PHP Warning: The method "get" is not supported. *
>
> So I guess for reports, this is not the right way to proceed.
>
> Is it correct to assume that this isn't the same approach as 
> "ConversionTrackerService" or other services ?
>
> Thank you,
>
>

reporting issues

2015-11-25 Thread rakesh ringula
what is the difference between dimensions and segments in adwords?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2f69997e-12f7-4df9-ac1b-006c97568cb0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Invalid grant when using Token Refresh

2015-11-25 Thread jnewman0817
Just noticed our urls are different then what I posted.

Auth Url:
https://accounts.google.com/o/oauth2/auth?

Token Url:
https://accounts.google.com/o/oauth2/token

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/538550ed-2b2c-4864-a8f8-d60d63a7b3eb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Managing segmented requests for large accounts - at scale

2015-11-25 Thread Sam
Hi there.

We have an MCC of hundreds of accounts. Maybe 5% of these accounts are big 
enough to require multiple calls for something like 
CampaignCriterionService, as otherwise they give a START_INDEX_TOO_HIGH 
error at some point. For these accounts, we run campaign by campaign to 
retrieve the data in segments.

My question is - when running data collection processes across all accounts 
in the MCC - should we:

1) Run data collection for all clients at a campaign level (drastically 
increasing the number of calls, but reducing the response size)
2) Set a flag on accounts which give START_INDEX_TOO_HIGH error so that 
only these are pulled campaign by campaign, and the remainder pulled at 
account level

Option 1 is a bit easier to implement, but is there a problem with 
dramatically increasing the number of API calls? Is option 2 preferable for 
performance of the data collection at scale?

Thanks

Sam

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/e333aede-9dfc-48ed-84e1-74b4f38af16b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.