Re: Retrieve and modify upgraded sitelinks with adwords api

2013-07-15 Thread james
Have just started on this too. Here is my understanding:
 
Sitelinks are retrieved with the FeedItemService. That gives the sitelinks 
with all their data.
But it also retrieves other types of FeedItems (phone numbers, offers, etc).
You need to use the FeedMappingService to generically tell if a feed item 
is a sitelink (by checking for PlaceHolderId=1). There are assumption based 
shortcuts you could use such as looking at the FeedService::feedName, but I 
don't like risk - and not sure about other language accounts. 
 
Feed Items (including sitelinks) exist "above" campaigns.  
Then the campaignFeedService (or AdgroupFeedService) is used to link these 
sitelink feed items to multiple campaigns and/or adgroups.
 
So the approach I am looking to implement is:
1 - FeedMappingService::get
Store the results in a hash keyed on feedMappingId
2 - FeedItemService::get
For each one look up validationDetails.feedMappingId in the hash. If 
the hashed placeholderId == 1 its a sitelink
Save the sitelinks to our system
3 - CampaignFeedService::get / AdgroupFeedService::get
Find the matching feedItemIds (think this will have to be the matching 
function)
Store the links between sitelinks and campaigns/adgroups in our system
4 - FeedItemService::put
If you want to modify the sitelinks themselves (change URLs etc)
5 - CampaignFeedService::put / AdgroupFeedService::put
If you want to change which Campaigns/Adgroups the sitelinks are 
attached to
 
Now Google have made this all MUCH more complicated than it was. So I am 
assuming there has to be some kind of payoff for it coming down the track. 
I guess the advantage for them is they don't need to keep adding new 
services as they come up with new AdExtensions. But this new Feed model 
is VERY generic and thus quite daunting when you first start. As I said 
I've just started on this and am learning each day myself.
 
Good luck
 

On Friday, July 5, 2013 12:54:56 AM UTC+10, gai-t...@etracker.de wrote:

> Hello,
>
> we use Adwords API 201302 and we are wondering how to retrieve and modify 
> upgraded sitelinks with the new FeedServices.
>
> If we have a campaignId, how can we get all the Sitelinks for this 
> campaignId including some more information like e.g. destinationUrl, 
> displayText, campaignName, extensionId and sitelinksIndex.
> Shall we use the CampaignFeedService for this? (I read something about 
> AdGroupFeedService too, but I believe sitelinks are retrieved with 
> CampaignFeedService?)
>
> And how can we then modify the sitelink with the API? 
> Using CampaignFeedService.mutate? Or do we need to remove the old sitelink 
> and to add the new one? (Before, we used CampaignAdExtensionService...)
>
> Is there any example of it? We only found examples for adding new 
> sitelinks. Do we need to make any more calls (with other Services) to 
> achieve what we want to do? Like creating first a FeedService and a 
> FeedItemService - some of the examples used them before adding new 
> sitelinks, but we don't know if we need it for already existing sitelinks 
> which we just want to modify...
>
> An answer would be great, thank you!
>
> A. Bregas
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.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.




AdGroup.contentBidCriterionTypeGroup

2013-07-15 Thread Slava
Where can I see/set this AdGroup.contentBidCriterionTypeGroup property in 
AdWords Web UI?

How can I download it via structure reports?

Thanks,
Slava

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.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.




Ad Performance report does not work properly

2013-07-15 Thread Federico J. Sutin Citterio
Dear AdWord's Developers,

Aiming to achieve api compliance. We have to add new fields in our report 
definition (which we use to make the request). But the new response does 
not match the platform.

I have added three fields: Device (R.244), Ad Network (R.242) and ClickType 
(R.246).

When I add Click Type to the report definition, I get more clicks than the 
platform. Then I find this:

"Since ads can serve with multiple click types displayed, impressions may 
be double counted and the totals may not be accurate." source: 
https://developers.google.com/adwords/api/docs/appendix/reports#ad

However, if I withdraw Click Type and keep Device and Ad Network  I get 
less impressions than the platform. 

I am wondering if I am doing something wrong or if this is just an error.

I have added the new request below.



AdGroupId
CampaignId
Id
KeywordId
Clicks
Impressions
Cost
AverageCpc
AverageCpm
AveragePosition
Ctr
Conversions
CostPerConversion
ConversionRate
Device
AdNetworkType1
ClickType

{min.date}
{max.date}


Custom Ads Stats Report
AD_PERFORMANCE_REPORT
CUSTOM_DATE
GZIPPED_XML


Regards

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.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.




Production deployment

2013-07-15 Thread Shruti
Hi There,

We are planning our production deployment. Can the current test account be 
converted to use for production (i.e clear all the existing data - 
campaign, ads) and start fresh?
Or ideal we should be creating a new API account and let the test account 
stay? 
What would be the best practices?

Thanks!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.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.




Which Service/Class to use to get min-bid and first-page bid for a keyword

2013-07-15 Thread Ankit Bhutani
 Ive been trying to find this online with no success.
Please help, it's sort of urgent.
Also, I'm using v201209. Would I need to update?

Thanks alot

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.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: Retrieve and modify upgraded sitelinks with adwords api

2013-07-15 Thread Oliver
See the attached screenshot. The upper grid is for campaigns while the 
lower one is for adgroups.




Oliver




On Monday, July 15, 2013 9:21:34 AM UTC+1, gai-t...@etracker.de wrote:
>
> Thanks for your answer. In the web interface, how can I find out if 
> sitelinks are created at AdGroup or Campaign level? 
>
>
>
> Am Montag, 15. Juli 2013 09:05:46 UTC+2 schrieb Anash P. Oommen (AdWords 
> API Team):
>>
>> Hi,
>>
>> Sitelinks can be created at AdGroup and Campaign levels - hence two 
>> services to deal with each case. Thanks for the feedback, I'll ask our 
>> techwriter to look into it.
>>
>> Cheers,
>> Anash
>>
>> On Monday, July 15, 2013 12:18:57 PM UTC+5:30, gai-t...@etracker.dewrote:
>>>
>>> That is exactly what I meant. The guide was really easy to find, but it 
>>> did not help me to understand how to *retrieve and modify* sitelinks. Some 
>>> small advice, maybe just in words - which Services do we need to use in 
>>> which order - that would be so great and help so much, please!
>>>
>>> I am also confused by all the services - I dont really understand the 
>>> differences between for example AdGroupFeedService an CampaignFeedService - 
>>> can both be used for sitelinks?
>>>
>>> Thank you.
>>>
>>> Am Mittwoch, 10. Juli 2013 10:13:57 UTC+2 schrieb Oliver:

 Hi Anash,

 The feeds guide Danial pointed out was easy to find but it covers only 
 *creating* new sitelinks.  The enquirer was asking about *retrieving *and 
 *modifying *existing sitelinks.  The logic/model of feeds, at least 
 for me, is a bit convoluted and not easy to reverse engineer the current 
 code examples to try and figure out how other use cases should work.  It 
 will really help if you can add more code examples to the feeds guide to 
 cover at least retrieving sitelinks.

 Many thanks

 Oliver


 On Wednesday, July 10, 2013 6:54:25 AM UTC+1, Anash P. Oommen (AdWords 
 API Team) wrote:
>
> Hi Oliver,
>
> You bring up an interesting point - You somehow didn't locate the 
> guide on your own. I wonder, how could we have made this guide easier to 
> locate? 
>
> Cheers,
> Anash
>
> On Friday, July 5, 2013 12:23:43 PM UTC+5:30, Oliver wrote:
>>
>> There is very little documentation or code examples on how to do 
>> this.  I really hope the API team will soon add this info to the docs as 
>> we've requested it few times in the past.  We have lots of examples of 
>> how 
>> to add sitelinks but nothing at all on how to read or modify them.  And 
>> the 
>> way they work doesn't make it easy to guess either.  Adding and 
>> modifying 
>> sitelinks is part of the RMF so I'm sure there is huge demand for such 
>> info.
>>
>> Oliver
>>
>>
>> On Thursday, July 4, 2013 3:54:56 PM UTC+1, gai-t...@etracker.dewrote:
>>>
>>> Hello,
>>>
>>> we use Adwords API 201302 and we are wondering how to retrieve and 
>>> modify upgraded sitelinks with the new FeedServices.
>>>
>>> If we have a campaignId, how can we get all the Sitelinks for this 
>>> campaignId including some more information like e.g. destinationUrl, 
>>> displayText, campaignName, extensionId and sitelinksIndex.
>>> Shall we use the CampaignFeedService for this? (I read something 
>>> about AdGroupFeedService too, but I believe sitelinks are retrieved 
>>> with 
>>> CampaignFeedService?)
>>>
>>> And how can we then modify the sitelink with the API? 
>>> Using CampaignFeedService.mutate? Or do we need to remove the old 
>>> sitelink 
>>> and to add the new one? (Before, we used CampaignAdExtensionService...)
>>>
>>> Is there any example of it? We only found examples for adding new 
>>> sitelinks. Do we need to make any more calls (with other Services) to 
>>> achieve what we want to do? Like creating first a FeedService and a 
>>> FeedItemService - some of the examples used them before adding new 
>>> sitelinks, but we don't know if we need it for already existing 
>>> sitelinks 
>>> which we just want to modify...
>>>
>>> An answer would be great, thank you!
>>>
>>> A. Bregas
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.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 becaus

Re: My ads are not running on the API testing account

2013-07-15 Thread Oliver
Hi Anash,

Out of interest, I was aware test accounts won't run Ads, but I noticed you 
said the accounts are 'closed'.  Do you mean 'suspended'?  I got a message 
in my test account saying the account is suspended due to billing 
information.  But the billing information is all fine. I initially thought 
that a suspended test account won't get API access so I contacted adwords 
support to resolve this issue.  However, adwords support didn't seem to 
know anything about what a 'test account' is or why mine was suspended.

>From what you said, I'm now guessing that maybe suspending a test account 
is google's way of making it a test account i.e. stopping it serving live 
Ads without shutting the API access. Is this correct? If so, then I guess 
the suspension was meant to be.

Oliver




On Monday, July 15, 2013 8:00:19 AM UTC+1, Anash P. Oommen (AdWords API 
Team) wrote:
>
> Hi,
>
> Test accounts are closed accounts and hence won't run ads.
>
> Cheers,
> Anash P. Oommen,
> AdWords API Advisor.
>
> On Saturday, July 13, 2013 10:29:11 PM UTC+5:30, ho...@laeliteppc.comwrote:
>>
>> Hello, quick question: For some reason my ads on the API test account are 
>> not running (even though I have not started working with the API). When 
>> doing a Diagnosis test, it says that I asked for the account to be closed. 
>> Are API test account unable to run ads? 
>> Thanks
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.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: Feed Services APIs (only 1 active call extension in the campaign, but APIs returns 4)

2013-07-15 Thread Julian Khandros
Anash,

Thanks again for helping me here, but I still don't understand.  I'm
probably missing something, so please help me understand.  My campaign has
2 active sitelinks: "*Products*" and "*Contact Us*", but as per the output
from the CampaignFeedService::get() for Sitelinks and subsequent calls to
other feed-related services it tells me that there are 5 active sitelinks
for campaign 146894957 (the 2 that I see in the Adworsd UI and 3 others
that I do NOT see in the Adwords UI for this campaign).  Please help me
understand how I can tell from the feed-services (CampaignFeedService and
other related feed-related services) how I can tell which of these a real
person will see in the UI?

Campaign Feed: Campaign ID 146894957, Feed ID 124037, CampaignFeedStatus
ACTIVE, Placeholder Types [1]
Matching Function: functionOperatorString [IN]
LhsFunctionArgumentOperandTypes
  RequestContextOperand
RhsFunctionArgumentOperandTypes
  ConstantOperand
ConstantOperand
Feed: currentFeedId 124037, feedName Main sitelink feed, feedOrigin
ADWORDS, FeedStatus ACTIVE
FeedAttribute: attributeId 1, isPartOfKey false, attributeName
SitelinkName, feedAttributeType STRING
FeedAttribute: attributeId 2, isPartOfKey false, attributeName SitelinkUrl,
feedAttributeType URL
FeedAttribute: attributeId 3, isPartOfKey false, attributeName
SitelinkDescription1, feedAttributeType STRING
FeedAttribute: attributeId 4, isPartOfKey false, attributeName
SitelinkDescription2, feedAttributeType STRING
FeedItem: feedItemId 850397, feedId 124037, startTime null, endTime null,
feedItemStatus *ACTIVE*, devicePreference null
FeedItemValidationDetail: feedItemMappingId 1305917, validationStatus
VALID, approvalStatus APPROVED
FeedItemAttributeValue: feedAttributeId 1, feedItemAttributeId 1,
booleanValue null, doubleValue null, integerValue null, stringValue About Us
FeedItemAttributeValue: feedAttributeId 2, feedItemAttributeId 2,
booleanValue null, doubleValue null, integerValue null, stringValue
http://www.health-applicator.com/index.php/about-health-applicator
FeedItemAttributeValue: feedAttributeId 3, feedItemAttributeId 3,
booleanValue null, doubleValue null, integerValue null, stringValue Find
out about Health Applicator.
FeedItemAttributeValue: feedAttributeId 4, feedItemAttributeId 4,
booleanValue null, doubleValue null, integerValue null, stringValue
Official Dealer of Lyapko Products.
FeedItem: feedItemId 850517, feedId 124037, startTime null, endTime null,
feedItemStatus *ACTIVE*, devicePreference null
FeedItemValidationDetail: feedItemMappingId 1305917, validationStatus
VALID, approvalStatus APPROVED
FeedItemAttributeValue: feedAttributeId 1, feedItemAttributeId 1,
booleanValue null, doubleValue null, integerValue null, stringValue Products
FeedItemAttributeValue: feedAttributeId 2, feedItemAttributeId 2,
booleanValue null, doubleValue null, integerValue null, stringValue
http://www.health-applicator.com/index.php/
FeedItemAttributeValue: feedAttributeId 3, feedItemAttributeId 3,
booleanValue null, doubleValue null, integerValue null, stringValue Mats,
Rugs, Rollers, and
FeedItemAttributeValue: feedAttributeId 4, feedItemAttributeId 4,
booleanValue null, doubleValue null, integerValue null, stringValue various
other applicators.
FeedItem: feedItemId 850637, feedId 124037, startTime null, endTime null,
feedItemStatus *ACTIVE*, devicePreference null
FeedItemValidationDetail: feedItemMappingId 1305917, validationStatus
VALID, approvalStatus APPROVED
FeedItemAttributeValue: feedAttributeId 1, feedItemAttributeId 1,
booleanValue null, doubleValue null, integerValue null, stringValue Contact
Us
FeedItemAttributeValue: feedAttributeId 2, feedItemAttributeId 2,
booleanValue null, doubleValue null, integerValue null, stringValue
http://www.health-applicator.com/index.php/contacts/
FeedItemAttributeValue: feedAttributeId 3, feedItemAttributeId 3,
booleanValue null, doubleValue null, integerValue null, stringValue Have
questions?
FeedItemAttributeValue: feedAttributeId 4, feedItemAttributeId 4,
booleanValue null, doubleValue null, integerValue null, stringValue We got
answers!
FeedItem: feedItemId 850757, feedId 124037, startTime null, endTime null,
feedItemStatus *ACTIVE*, devicePreference null
FeedItemValidationDetail: feedItemMappingId 1305917, validationStatus
VALID, approvalStatus APPROVED
FeedItemAttributeValue: feedAttributeId 1, feedItemAttributeId 1,
booleanValue null, doubleValue null, integerValue null, stringValue
Customer Service
FeedItemAttributeValue: feedAttributeId 2, feedItemAttributeId 2,
booleanValue null, doubleValue null, integerValue null, stringValue
http://www.health-applicator.com/index.php/customer-service
FeedItemAttributeValue: feedAttributeId 3, feedItemAttributeId 3,
booleanValue null, doubleValue null, integerValue null, stringValue We're
available to serve
FeedItemAttributeValue: feedAttributeId 4, feedItemAttributeId 4,
booleanValue null, doubleValue null, integerValue null, stringValue all
your applicator needs.
FeedItem:

ADD_OPERATION_NOT_PERMITTED error when adding a campaign after upgrade to v201306

2013-07-15 Thread Kevin Kuszyk
Hi All,

After upgrading to v201306 we are getting an 
OperationAccessDenied.ADD_OPERATION_NOT_PERMITTED error when trying to add 
a new campaign.  I don’t think it’s a permissions issue because we can 
create a budget.  Any help would be appreciated.

This is the sanitised xml request we are sending:


>  xmlns="https://adwords.google.com/api/adwords/cm/v201306";>
>xmlns="https://adwords.google.com/api/adwords/cm/v201306";>*
>xmlns="https://adwords.google.com/api/adwords/cm/v201306";>** 
> (AwApi-DotNet/16.1.0, Common-Dotnet/1.8.0, .NET CLR/4.0.30319.17929, 
> gzip)
> 
>   
>   
> https://adwords.google.com/api/adwords/cm/v201306";>
>   
> ADD
> 
>   Integration Test Campaign 8d04f87e4b21c8e
>   ACTIVE
>   20130715
>   
> 
>   
>   
> false
>   
>   
> true
> true
> true
> false
>   
>   
> MANUAL_CPC
>   
> 
>   
> 
>   
> 


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.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.




v201306 problems with ManagedCustomerService

2013-07-15 Thread Horhe
Hello,

v201303 implementation of ManagedCustomerService get() call worked OK, but 
when I switch to v201306 version I got an error below:

Value cannot be null.
Parameter name: Looks like your application is not configured to use OAuth2 
properly. Required OAuth2 parameter RefreshToken is missing. You may run 
Common\\Utils\\OAuth2TokenGenerator.cs to generate a default OAuth2 
configuration.

Where's the problem? How to solve the issue?

Thanks.

Br, Anže

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.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 do I get Criteria by CriteriaId?

2013-07-15 Thread aradhyatripathi13
Hi David,

I am getting this error when I tried what you suggested:

SelectorError.INVALID_PREDICATE_FIELD_NAME @ serviceSelector; 
trigger:'Status'

I expected this would happen as there is no such field mentioned here: 
https://developers.google.com/adwords/api/docs/appendix/selectorfields#v201302-CampaignCriterionService

Also, where can I get a list of all the possible statuses? 

Thanks,
Aradhya

On Saturday, July 13, 2013 2:13:55 AM UTC+5:30, David Torres (AdWords API 
Team) wrote:
>
> Hi Aradhya,
>
> For deleted criteria you also have to specific a predicate such as Status IN 
> ['DELETED']. By default deleted criteria is not returned by the services.
>
> Best,
>
> - David Torres - AdWords API Team
>
> On Friday, July 12, 2013 2:11:35 AM UTC-4, aradhyat...@gmail.com wrote:
>>
>> Hi,
>>
>> I am using *CustomerSyncService *to get the ids of the criteria that 
>> have been added or deleted during a time period.
>> Now, I need the corresponding criterion objects from the ids.How do I 
>> accomplish this?
>> I tried using *CampaignCriterionService *and passing the CampaignIds and 
>> CriteriaIds as the predicates, *but I do not get the deleted criteria 
>> objects*.
>> I looked into *ConstantDataService*, but it returns all criterias, and 
>> there is no provision to filter by Ids.
>>
>> Thanks,
>> Aradhya
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.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 much time it requires to approve Standard Access Application?

2013-07-15 Thread MWA
Hi,

Customer ID: 669-819-9072

I had posted my customer id but since (probably for security reasons) it 
did not appear, I also PM'ed you the customer id. My company is relying on 
me to get this worked out and I am very worried because client data is 
getting backlogged and we stand to lose clients. Can you please help 
resolve this? Thanks so much!



On Wednesday, July 10, 2013 2:26:15 PM UTC+5, MWA wrote:
>
> Hi,
>
> About a month ago (on 12 jun 2013) I applied for Standard Access and I did 
> not get any response to my application.
>
> Is there a review process and how long does it take to get the review 
> result?
>
> I also contacted at adwordsapi-tok...@google.com and no reply. Should I 
> re-apply or wait?
>
>
> Regards,
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.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 much time it requires to approve Standard Access Application?

2013-07-15 Thread MWA
Hi,

I had posted my customer id but since (probably for security reasons) it 
did not appear, I also PM'ed you the customer id. My company is relying on 
me to get this worked out and I am very worried because client data is 
getting backlogged and we stand to lose clients. Can you please help 
resolve this? Thanks so much!


On Wednesday, July 10, 2013 2:26:15 PM UTC+5, MWA wrote:
>
> Hi,
>
> About a month ago (on 12 jun 2013) I applied for Standard Access and I did 
> not get any response to my application.
>
> Is there a review process and how long does it take to get the review 
> result?
>
> I also contacted at adwordsapi-tok...@google.com and no reply. Should I 
> re-apply or wait?
>
>
> Regards,
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.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: Digits in russian keywords

2013-07-15 Thread Иван Красников
Is this logs enought to understand the problem?

On Thursday, July 11, 2013 4:03:07 PM UTC+4, Иван Красников wrote:
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.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: Oauth2.0 directly generating access token once already allowed access

2013-07-15 Thread Chirag
Hello Anash,

Thanks, Issue filed.
Please see the link.

https://code.google.com/p/google-api-adwords-php/issues/detail?id=102

Thanks,
Chirag

On Monday, July 15, 2013 12:20:26 PM UTC+5:30, Anash P. Oommen (AdWords API 
Team) wrote:
>
> Hi Chirag,
>
> Could you kindly file an issue under 
> https://code.google.com/p/google-api-adwords-php/issues/list if that 
> feature is not supported? I'll ask the PHP library maintainers to follow up 
> with you over the issue tracker.
>
> Cheers,
> Anash
>
> On Monday, July 15, 2013 11:25:15 AM UTC+5:30, Chirag wrote:
>>
>> Hi Anash,
>>
>> Thanks for your reply. 
>> But how i can take care this with PHP Client library. I think there is no 
>> scope for this under v201306.
>>
>>
>>
>> On Monday, June 10, 2013 2:52:49 PM UTC+5:30, Anash P. Oommen (AdWords 
>> API Team) wrote:
>>>
>>> Hi Chirag,
>>>
>>> If you want to force users to be authenticated, then you can build your 
>>> OAuth2 request with approval_prompt: force. See 
>>> https://developers.google.com/accounts/docs/OAuth2WebServer for details.
>>>
>>> Cheers,
>>> Anash P. Oommen,
>>> AdWords API Advisor.
>>>
>>> On Thursday, June 6, 2013 12:16:28 PM UTC+5:30, Chirag wrote:

 Hi David,

 As you said 

 Later on if the user wants to grant you permissions to a different 
 AdWords account (a different clientCustomerId) then he will need to logout 
 and log back in with the credentials of his other AdWords account, but the 
 OAuth2 client ID remains the same because this ID identifies your 
 application and not the user AdWords account. 

 - In this case if user is forgot to logout and he tries to authenticate 
 the application, than it directly giving refresh token without asking user 
 for permission to allow as user has already allowed previously. My 
 question 
 is that only why user is not redirected to grant permission page.

 Thanks,

 Chirag

 On Thursday, May 16, 2013 9:48:41 PM UTC+5:30, David Torres (AdWords 
 API Team) wrote:
>
> Hi Chirag,
>
> I think the problem comes from a misunderstanding of the term client 
> ID. OAuth2 client ID is not the same of the AdWords clientCustomerId, the 
> OAuth2 client ID which you get through the API Console identifies your 
> application, while the clientCustomerId identifies the AdWords account 
> you 
> want to access. So requesting access to the AdWords account (access token 
> and refresh token) requires you pass the OAuth2 client ID that identifies 
> your application and tells the user that your application wants to access 
> his account, at that point the user needs to login using his AdWords 
> credentials so the generated access and refresh tokens are granting 
> permissions to the right AdWords account. Later on if the user wants to 
> grant you permissions to a different AdWords account (a different 
> clientCustomerId) then he will need to logout and log back in with the 
> credentials of his other AdWords account, but the OAuth2 client ID 
> remains 
> the same because this ID identifies your application and not the user 
> AdWords account. That is because we recommend you use MCCs to access 
> multiple AdWords accounts, so the user just grants you access to his MCC 
> account - once - and then you'll have access to all his linked client 
> AdWords accounts.
>
> I hope this clarifies the workflow of OAuth2. Let me know if I'm 
> missing something.
>
> Best,
>
> - David
>
> On Sunday, May 12, 2013 2:54:23 AM UTC-7, Chirag wrote:
>>
>> Hello David,
>>
>> I am using PHP Client Library.
>>
>> Here is more details.
>>
>> Let's assume i have one adwords mcc account x...@gmail.com.
>> For first time authentication i need allow access to my web 
>> application for access token and refresh token. i do allow and link my 
>> one 
>> client id at that time.
>>
>> Now let's say i need to link other client id using same email 
>> x...@gmail.com for same web app.
>> Now oauth 2.0 is not asking me to allow access it directly gives me 
>> refresh token, as i have already authenticate web app.
>> This was not the case with Oauth1.0a, every time i need to link 
>> client id i need to allow access.
>>
>> So this was my situation. I have a system where user can link there 
>> client ids and fetch the customize reports for diffrent client ids.
>>
>> Please suggest me how i can use oauth 2.0 like we do with Oauth 1.0a 
>> where i cam easily manage diffrent client ids with same mcc account.
>>
>>
>>
>> On Friday, May 10, 2013 7:44:47 PM UTC+5:30, David Torres (AdWords 
>> API Team) wrote:
>>>
>>> Hi,
>>>
>>> I'm a bit confused with your question, are you asking how to 
>>> switch/store access tokens in one of our client librar

Re: Retrieve and modify upgraded sitelinks with adwords api

2013-07-15 Thread gai-test-1
Thanks for your answer. In the web interface, how can I find out if 
sitelinks are created at AdGroup or Campaign level? 



Am Montag, 15. Juli 2013 09:05:46 UTC+2 schrieb Anash P. Oommen (AdWords 
API Team):
>
> Hi,
>
> Sitelinks can be created at AdGroup and Campaign levels - hence two 
> services to deal with each case. Thanks for the feedback, I'll ask our 
> techwriter to look into it.
>
> Cheers,
> Anash
>
> On Monday, July 15, 2013 12:18:57 PM UTC+5:30, gai-t...@etracker.de wrote:
>>
>> That is exactly what I meant. The guide was really easy to find, but it 
>> did not help me to understand how to *retrieve and modify* sitelinks. Some 
>> small advice, maybe just in words - which Services do we need to use in 
>> which order - that would be so great and help so much, please!
>>
>> I am also confused by all the services - I dont really understand the 
>> differences between for example AdGroupFeedService an CampaignFeedService - 
>> can both be used for sitelinks?
>>
>> Thank you.
>>
>> Am Mittwoch, 10. Juli 2013 10:13:57 UTC+2 schrieb Oliver:
>>>
>>> Hi Anash,
>>>
>>> The feeds guide Danial pointed out was easy to find but it covers only *
>>> creating* new sitelinks.  The enquirer was asking about *retrieving *and 
>>> *modifying *existing sitelinks.  The logic/model of feeds, at least for 
>>> me, is a bit convoluted and not easy to reverse engineer the current code 
>>> examples to try and figure out how other use cases should work.  It will 
>>> really help if you can add more code examples to the feeds guide to cover 
>>> at least retrieving sitelinks.
>>>
>>> Many thanks
>>>
>>> Oliver
>>>
>>>
>>> On Wednesday, July 10, 2013 6:54:25 AM UTC+1, Anash P. Oommen (AdWords 
>>> API Team) wrote:

 Hi Oliver,

 You bring up an interesting point - You somehow didn't locate the guide 
 on your own. I wonder, how could we have made this guide easier to locate? 

 Cheers,
 Anash

 On Friday, July 5, 2013 12:23:43 PM UTC+5:30, Oliver wrote:
>
> There is very little documentation or code examples on how to do this. 
>  I really hope the API team will soon add this info to the docs as we've 
> requested it few times in the past.  We have lots of examples of how to 
> add 
> sitelinks but nothing at all on how to read or modify them.  And the way 
> they work doesn't make it easy to guess either.  Adding and modifying 
> sitelinks is part of the RMF so I'm sure there is huge demand for such 
> info.
>
> Oliver
>
>
> On Thursday, July 4, 2013 3:54:56 PM UTC+1, gai-t...@etracker.dewrote:
>>
>> Hello,
>>
>> we use Adwords API 201302 and we are wondering how to retrieve and 
>> modify upgraded sitelinks with the new FeedServices.
>>
>> If we have a campaignId, how can we get all the Sitelinks for this 
>> campaignId including some more information like e.g. destinationUrl, 
>> displayText, campaignName, extensionId and sitelinksIndex.
>> Shall we use the CampaignFeedService for this? (I read something 
>> about AdGroupFeedService too, but I believe sitelinks are retrieved with 
>> CampaignFeedService?)
>>
>> And how can we then modify the sitelink with the API? 
>> Using CampaignFeedService.mutate? Or do we need to remove the old 
>> sitelink 
>> and to add the new one? (Before, we used CampaignAdExtensionService...)
>>
>> Is there any example of it? We only found examples for adding new 
>> sitelinks. Do we need to make any more calls (with other Services) to 
>> achieve what we want to do? Like creating first a FeedService and a 
>> FeedItemService - some of the examples used them before adding new 
>> sitelinks, but we don't know if we need it for already existing 
>> sitelinks 
>> which we just want to modify...
>>
>> An answer would be great, thank you!
>>
>> A. Bregas
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.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: sitelink descriptions and FeedMappings

2013-07-15 Thread james
Thanks Anash
I must have been looking in the wrong place or had an old version.
Thanks again, very much appreciated.
 
James
 

On Monday, July 15, 2013 4:58:18 PM UTC+10, Anash P. Oommen (AdWords API 
Team) wrote:

> LINE1 and LINE2 constants are what you need, the code example uses only 
> TEXT and URL constants in the code
>
>   private static final int PLACEHOLDER_FIELD_SITELINK_LINK_TEXT = 1;
>   private static final int PLACEHOLDER_FIELD_SITELINK_URL = 2;
>
> Cheers,
> Anash
>
> On Monday, July 15, 2013 12:25:37 PM UTC+5:30, Anash P. Oommen (AdWords 
> API Team) wrote:
>>
>> Hi James,
>>
>> I thought you *were* looking for a user-defined field, sorry about that. 
>> See https://developers.google.com/adwords/api/docs/guides/feed-services, 
>> under the section that says, "3. Map the feed and placeholder fields.". 
>> This is where you tell that a particular feed column is sitelink text, 
>> description, etc. The relevant feed placeholder constants are here: 
>> https://developers.google.com/adwords/api/docs/appendix/placeholders
>>
>> Cheers,
>> Anash
>>
>> On Monday, July 15, 2013 9:56:31 AM UTC+5:30, james wrote:
>>>
>>> Thanks Anash,
>>> Do you mean that specifying an attribute name of SitelinkDescription1 or 
>>> SitelinkDescription2 makes a difference? I thought the names were 
>>> completely "user defined" and had no meaning?
>>>  
>>> Sorry, if I haven't been properly clear here. I'll try again.
>>>  
>>>  In the sample here:
>>> *https://developers.google.com/adwords/api/docs/guides/feed-services*
>>> They specify text and url attributes, and then mappings for these 
>>> attributes which I thought made the attributes "mean something". In this 
>>> example they do not use the description attributes at all.
>>>  
>>> In the UI a sitelink can also have two description lines. But on this 
>>> page
>>> https://developers.google.com/adwords/api/docs/appendix/placeholders
>>> There is no placeholder field for description1 or description2. So is 
>>> providing a specific attribute name (e.g. SitelinkDescription1) enough to 
>>> make it "mean something" or am I missing something? Sorry if I'm being 
>>> thick.
>>>  
>>> Thanks again
>>> James
>>>
>>> On Thursday, July 11, 2013 6:05:03 PM UTC+10, Anash P. Oommen (AdWords 
>>> API Team) wrote:
>>>
 Hi James,

 I guess you are looking for 
 https://developers.google.com/adwords/api/docs/reference/v201306/FeedService.FeedAttribute?hl=en#name
 ? 

 Cheers,
 Anash

 On Thursday, July 11, 2013 10:06:00 AM UTC+5:30, james wrote:
>
> Thanks Anash
> I have read the guide and understand it.
>  
> The problem is if I create my own feed for sitelinks, how do I specify 
> the description attributes? I can do the mappings for the link text and 
> link URL, but there are no field ID constants for the description 
> attributes.
>  
> Have fun,
> James
>
> On Wednesday, July 10, 2013 4:17:29 PM UTC+10, Anash P. Oommen 
> (AdWords API Team) wrote:
>
>> Hi James,
>>
>> Your notion of Feed*Services is correct. The only additional thing 
>> I'd add is that CampaignFeedService maps a FeedItem to a campaign, so 
>> that 
>> the data actually gets used in the context of a campaign.
>>
>> See 
>> https://developers.google.com/adwords/api/docs/guides/feed-services for 
>> a guide that shows how to create your own feed and map your own fields 
>> to 
>> Google attributes. Also, Offer Extensions are not supported through 
>> AdWords 
>> API.
>>
>> Cheers,
>> Anash P. Oommen,
>> AdWords API Advisor.
>>
>> On Monday, July 8, 2013 8:17:09 PM UTC+5:30, james wrote:
>>>
>>> Hi,
>>> Looking at implementing enhanced sitelinks using the Feed*Services.
>>>  
>>> In the Adwords UI, we can enter description lines for the sitelink. 
>>> These descriptions do come back in FeedItemService::get as expected.
>>>  
>>> But the FeedMappingService::get does not return mappings for the two 
>>> description attributes. So if we were to create our own feed (instead 
>>> of 
>>> adding items to the feed created by the adwords UI), how would we 
>>> specify 
>>> the description attributes for our own feed? Do I need to use the same 
>>> attribute names as the UI feed?
>>>  
>>> In a similar vein there were no mappings at all returned by the 
>>> FeedMappingService::get method for the "Main offer feed" which was 
>>> created 
>>> by the UI. So once again, how would I create offer ad extensions with 
>>> the 
>>> API if there is no pre-existing offer feed to add the items to?
>>>  
>>> Just trying to get my head around how all this feed stuff hangs 
>>> together. What I have so far:
>>> - a feed is metadata which defines a structure of user defined names
>

Re: Parse error: syntax error CampaignFeedService.php

2013-07-15 Thread ฉัตรมงคล อมรเวช
I opened issue 
https://code.google.com/p/google-api-adwords-php/issues/detail?id=101

Thank you. 

On Monday, July 15, 2013 2:21:53 PM UTC+7, Anash P. Oommen (AdWords API 
Team) wrote:
>
> Hi,
>
> Could you open an issue on 
> https://code.google.com/p/google-api-adwords-php/issues/list?
>
> Thanks,
> Anash P. Oommen,
> AdWords API Advisor
>
> On Friday, July 12, 2013 2:34:10 PM UTC+5:30, ฉัตรมงคล อมรเวช wrote:
>>
>> I got this error when try to get existing feeds.
>>
>> "Parse error: syntax error, unexpected 'Function' (T_FUNCTION), expecting 
>> identifier (T_STRING) in 
>> D:\work\test\trunk\src\adwords_api_php_4.4.0\src\Google\Api\Ads\AdWords\v201306\CampaignFeedService.php
>>  
>> on line 720".
>>
>> then i run "php -l 
>> D:\work\test\trunk\src\adwords_api_php_4.4.0\src\Google\Api\Ads\AdWords\v201306\CampaignFeedService.php"
>> I get the same error.
>>
>> on window7 64 bit
>> php 5.4.4
>> library version 4.4.0
>> adword version 201306
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.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: Parse error: syntax error CampaignFeedService.php

2013-07-15 Thread Anash P. Oommen (AdWords API Team)
Hi,

Could you open an issue on 
https://code.google.com/p/google-api-adwords-php/issues/list?

Thanks,
Anash P. Oommen,
AdWords API Advisor

On Friday, July 12, 2013 2:34:10 PM UTC+5:30, ฉัตรมงคล อมรเวช wrote:
>
> I got this error when try to get existing feeds.
>
> "Parse error: syntax error, unexpected 'Function' (T_FUNCTION), expecting 
> identifier (T_STRING) in 
> D:\work\test\trunk\src\adwords_api_php_4.4.0\src\Google\Api\Ads\AdWords\v201306\CampaignFeedService.php
>  
> on line 720".
>
> then i run "php -l 
> D:\work\test\trunk\src\adwords_api_php_4.4.0\src\Google\Api\Ads\AdWords\v201306\CampaignFeedService.php"
> I get the same error.
>
> on window7 64 bit
> php 5.4.4
> library version 4.4.0
> adword version 201306
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.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: Feed Services APIs (only 1 active call extension in the campaign, but APIs returns 4)

2013-07-15 Thread Anash P. Oommen (AdWords API Team)
Hi Julian,

You could look at the CampaignFeed items in your account using 
CampaignFeedService::get(), that should tell you which all FeedItems are 
mapped to campaigns and which aren't.

Cheers,
Anash

On Saturday, July 13, 2013 2:20:54 AM UTC+5:30, Julian Khandros wrote:
>
> Anash, 
>
> Thank you for your continued help on this issue.  I replied to your post 
> before by email, but I'm not sure if that made it to this forum, so I'll 
> post my relpy here.
>
> Your outline makes sense.  1 question is -- how to tell from the FeedItems 
> below which of them are currently "live" in the UI vs those that are in the 
> feed but are not showing ni the UI?
>
> Thanks again.
>
> Julian 
>
> On Wednesday, July 10, 2013 1:21:59 AM UTC-4, Anash P. Oommen (AdWords API 
> Team) wrote:
>>
>> Hi Julian,
>>
>> I'll use the request ids in your logs to explain what's happening:
>>
>> 1. 0004e09d237c94a80ae5230357a4: CampaignId 146894957 has 2 matching 
>> functions. First matching function is feedId = 123917, feeditemIds 
>> IN(850277, 6047117), the next one is feedId = 124037, feeditemIds IN(850517, 
>> 850637). So your campaign has 4 ad extensions.
>> 2. 0004e09d237fada00ae539491589: Feed id = 123917 has 5 fields 
>> (CallPhoneNumber, CallCountryCode, CallCallTracking, CallCallOnly, 
>> CallConversionDuration). This is a call extension feed.
>> 3. 0004e09d2383f7480ae50e8811c7: Feed id = 123917 has 3 phone numbers 
>> in all. 
>> 4. 0004e09d2386a6c80ae58b4c24c0: FeedId = 124037 has 4 fields 
>> (SitelinkName, SitelinkUrl, SitelinkDescription1, SitelinkDescription2). 
>> This is a sitelinks feed.
>> 5. 0004e09d23892f380ae58949483a: FeedId = 124037 has 5 sitelinks in 
>> all.
>>
>> So the way to interpret this whole thing would be,
>>
>> You have a sitelink feed with 5 sitelinks, and a call extension feed with 
>> 3 phone numbers. You added 2 sitelinks and 2 call extensions from those 
>> feeds into campaign id 146894957. The UI agrees with these SOAP logs.
>>
>> Hope this helps. Let me know if you need more clarification.
>>
>> Cheers,
>> Anash P. Oommen,
>> AdWords API Advisor
>>
>> On Wednesday, July 10, 2013 9:56:28 AM UTC+5:30, Anash P. Oommen (AdWords 
>> API Team) wrote:
>>>
>>> Thanks Julian,
>>>
>>> I'm looking into this now.
>>>
>>> Anash
>>>
>>> On Friday, June 28, 2013 8:34:59 PM UTC+5:30, Julian Khandros wrote:

 Google tech support folks, 

 Our campaign for campaignId 138805965 (name is "Campaign #5") has just 
 1 Call Extension that's active.  But when get the call extensions via the 
 Feed-related APIs (CampaignFeedService, FeedService, FeedItemService) I 
 get 
 4 call extensions (4 feed items).  Can you please tell me why 4 are sent 
 back?  Here's the outline of the data and the relevant id's amongst 
 CampaignFeedService, 
 FeedService, FeedItemService.  Thanks in advance for your help.

  Campaign Feed: Campaign ID 138805965, Feed ID 853485, 
 CampaignFeedStatus ACTIVE, Placeholder Types [2]
  Feed: feedId 853485, feedName "Main phone number feed", feedOrigin 
 ADWORDS, FeedStatus ACTIVE
  FeedAttribute: attributeId 1, isPartOfKey false, attributeName 
 CallPhoneNumber, feedAttributeType STRING
  FeedAttribute: attributeId 2, isPartOfKey false, attributeName 
 CallCountryCode, feedAttributeType STRING
  FeedAttribute: attributeId 3, isPartOfKey false, attributeName 
 CallCallTracking, feedAttributeType BOOLEAN
  FeedAttribute: attributeId 4, isPartOfKey false, attributeName 
 CallCallOnly, feedAttributeType BOOLEAN
  FeedAttribute: attributeId 5, isPartOfKey false, attributeName 
 CallConversionDuration, feedAttributeType INT64
  FeedItem: feedItemId 4618485, feedId 853485, startTime null, endTime 
 null, feedItemStatus ACTIVE, devicePreference null
  FeedItemValidationDetail: feedItemMappingId 853485, validationStatus 
 VALID, approvalStatus UNCHECKED
 FeedItemAttributeValue: feedAttributeId 1, feedItemAttributeId 1, 
 booleanValue null, doubleValue null, integerValue null, stringValue (718) 
 998-7701
  FeedItemAttributeValue: feedAttributeId 2, feedItemAttributeId 2, 
 booleanValue null, doubleValue null, integerValue null, stringValue US
  FeedItemAttributeValue: feedAttributeId 3, feedItemAttributeId 3, 
 booleanValue false, doubleValue null, integerValue null, stringValue null
  FeedItemAttributeValue: feedAttributeId 4, feedItemAttributeId 4, 
 booleanValue false, doubleValue null, integerValue null, stringValue null
  FeedItemAttributeValue: feedAttributeId 5, feedItemAttributeId 5, 
 booleanValue null, doubleValue null, integerValue -1, stringValue null
  FeedItem: feedItemId 4618605, feedId 853485, startTime null, endTime 
 null, feedItemStatus ACTIVE, devicePreference null
  FeedItemValidationDetail: feedItemMappingId 853485, validationStatus 
 VALID, approvalStatus UNCHECKED
  FeedItemAttr

Re: Retrieve and modify upgraded sitelinks with adwords api

2013-07-15 Thread Anash P. Oommen (AdWords API Team)
Hi,

Sitelinks can be created at AdGroup and Campaign levels - hence two 
services to deal with each case. Thanks for the feedback, I'll ask our 
techwriter to look into it.

Cheers,
Anash

On Monday, July 15, 2013 12:18:57 PM UTC+5:30, gai-t...@etracker.de wrote:
>
> That is exactly what I meant. The guide was really easy to find, but it 
> did not help me to understand how to *retrieve and modify* sitelinks. Some 
> small advice, maybe just in words - which Services do we need to use in 
> which order - that would be so great and help so much, please!
>
> I am also confused by all the services - I dont really understand the 
> differences between for example AdGroupFeedService an CampaignFeedService - 
> can both be used for sitelinks?
>
> Thank you.
>
> Am Mittwoch, 10. Juli 2013 10:13:57 UTC+2 schrieb Oliver:
>>
>> Hi Anash,
>>
>> The feeds guide Danial pointed out was easy to find but it covers only *
>> creating* new sitelinks.  The enquirer was asking about *retrieving *and 
>> *modifying *existing sitelinks.  The logic/model of feeds, at least for 
>> me, is a bit convoluted and not easy to reverse engineer the current code 
>> examples to try and figure out how other use cases should work.  It will 
>> really help if you can add more code examples to the feeds guide to cover 
>> at least retrieving sitelinks.
>>
>> Many thanks
>>
>> Oliver
>>
>>
>> On Wednesday, July 10, 2013 6:54:25 AM UTC+1, Anash P. Oommen (AdWords 
>> API Team) wrote:
>>>
>>> Hi Oliver,
>>>
>>> You bring up an interesting point - You somehow didn't locate the guide 
>>> on your own. I wonder, how could we have made this guide easier to locate? 
>>>
>>> Cheers,
>>> Anash
>>>
>>> On Friday, July 5, 2013 12:23:43 PM UTC+5:30, Oliver wrote:

 There is very little documentation or code examples on how to do this. 
  I really hope the API team will soon add this info to the docs as we've 
 requested it few times in the past.  We have lots of examples of how to 
 add 
 sitelinks but nothing at all on how to read or modify them.  And the way 
 they work doesn't make it easy to guess either.  Adding and modifying 
 sitelinks is part of the RMF so I'm sure there is huge demand for such 
 info.

 Oliver


 On Thursday, July 4, 2013 3:54:56 PM UTC+1, gai-t...@etracker.de wrote:
>
> Hello,
>
> we use Adwords API 201302 and we are wondering how to retrieve and 
> modify upgraded sitelinks with the new FeedServices.
>
> If we have a campaignId, how can we get all the Sitelinks for this 
> campaignId including some more information like e.g. destinationUrl, 
> displayText, campaignName, extensionId and sitelinksIndex.
> Shall we use the CampaignFeedService for this? (I read something about 
> AdGroupFeedService too, but I believe sitelinks are retrieved with 
> CampaignFeedService?)
>
> And how can we then modify the sitelink with the API? 
> Using CampaignFeedService.mutate? Or do we need to remove the old 
> sitelink 
> and to add the new one? (Before, we used CampaignAdExtensionService...)
>
> Is there any example of it? We only found examples for adding new 
> sitelinks. Do we need to make any more calls (with other Services) to 
> achieve what we want to do? Like creating first a FeedService and a 
> FeedItemService - some of the examples used them before adding new 
> sitelinks, but we don't know if we need it for already existing sitelinks 
> which we just want to modify...
>
> An answer would be great, thank you!
>
> A. Bregas
>


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.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: Adword developer token

2013-07-15 Thread Anash P. Oommen (AdWords API Team)
Hi Avvo,

Only an MCC account can have AdWords API Center tab. Are you logged into an 
MCC account? (There should be a My Client Center tab if you are in one).

Cheers,
Anash P. Oommen
AdWords API Advisor.

On Friday, July 12, 2013 4:07:19 AM UTC+5:30, Avvo Mail wrote:
>
> I don't see AdWords API Center under Adword " My account". I need a 
> developer token to build SOAP request. Please guide.
>
> Thanks
> -tm
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.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: Ads are not running on API testing account

2013-07-15 Thread Anash P. Oommen (AdWords API Team)
Hi,

I have responded on 
https://groups.google.com/forum/#!topic/adwords-api/6YydfAjKmJM

Cheers,
Anash

On Saturday, July 13, 2013 2:54:49 AM UTC+5:30, ho...@laeliteppc.com wrote:
>
> Hello, quick question: For some reason my ads on the API test account are 
> not running. When doing a Diagnosis test on my keywords, it says that I 
> (the advertiser) asked for the account to be closed. Are API test account 
> unable to run ads? 
> Thanks
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.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: My ads are not running on the API testing account

2013-07-15 Thread Anash P. Oommen (AdWords API Team)
Hi,

Test accounts are closed accounts and hence won't run ads.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Saturday, July 13, 2013 10:29:11 PM UTC+5:30, ho...@laeliteppc.com wrote:
>
> Hello, quick question: For some reason my ads on the API test account are 
> not running (even though I have not started working with the API). When 
> doing a Diagnosis test, it says that I asked for the account to be closed. 
> Are API test account unable to run ads? 
> Thanks
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.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: I applied for an API token many months ago. I still have not been approved.

2013-07-15 Thread Anash P. Oommen (AdWords API Team)
Hi Gregory,

Please fill https://services.google.com/fb/forms/newtoken/ if you haven't 
done so already. The review team will follow up with you once this is done.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Sunday, July 14, 2013 8:57:29 AM UTC+5:30, c...@computerproof.com wrote:
>
> Does anyone here know what I should do to expedite my request?  I need the 
> ability to call google adwords keyword tool results into excel.  Thanks
>
> Gregory
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.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.