PHP Examples for Migration to asset-based DSA?

2022-02-11 Thread SeriousJ
Hi, in your guide to "Asset-based workflow for creating DSA page feeds " there are still only examples for Java. When will there be examples for PHP? Is there a

How to select Assets linked to an Account?

2021-12-09 Thread SeriousJ
How can I select Assets linked to an Account? For example, I can select assets linked to a Campaign through CampaignAssets. I would use the following query: SELECT campaign.id, campaign_asset.asset, FROM campaign_asse

Associate an Image Asset to a Campaign using a CampaignAsset

2021-12-08 Thread SeriousJ
I have Image Assets that are used for Campaign extensions. I successfully migrated all my Feed-based extensions to Asset-based extensions, except for my Campaign Image extensions. It seems to be not possible to create a CampaignAsset to link and Image Asset to a Campaign. In other words, the fo

Re: This API is a nightmare

2019-05-29 Thread SeriousJ
seconds!!! > > > > On Thursday, May 23, 2019 at 1:40:48 PM UTC+3, SeriousJ wrote: >> >> This API is worse than the previous one, and that is no small feat. >> >> *1)* You need to comply to absurd requirements. >> >> For instance in PHP, you need to

Re: EXPECTED_FILTERS_ON_DATE_RANGE

2019-05-23 Thread SeriousJ
It's still not the answer. All the reasons that you give for not working don't apply to us. We use extensions, not feeds. Extensions are linked to the campaign. And I'm tired of debugging your answers. I'll give you the answer. First you need a query for getting all extensions and their details

Re: EXPECTED_FILTERS_ON_DATE_RANGE

2019-05-23 Thread SeriousJ
I don't want to reply privately as many other programmers are trying to make this work and can find this useful. It's also good to keep a public record of how bad things have become. Your query 'SELECT extension_feed_item.resource_name, extension_feed_item.extension_type, campaign.resource_name

Re: EXPECTED_FILTERS_ON_DATE_RANGE

2019-05-22 Thread SeriousJ
ecause it's Google and they don't care. On Wednesday, May 22, 2019 at 11:29:18 AM UTC+2, SeriousJ wrote: > > Well, no. > > This query gets me good results: > > 1) SELECT metrics.cost_micros, campaign.name, *segments.month* FROM > campaign WHERE *segments.date* &g

Re: EXPECTED_FILTERS_ON_DATE_RANGE

2019-05-22 Thread SeriousJ
There are many inconsistencies in the language. Really a lot. You want to have fun? Tell me what's the query to get the value of all extension_feed_items belonging to a campaign. This new API is even more obscure than the previous one. No small feat. And of course, it's much much slower. About

Re: EXPECTED_FILTERS_ON_DATE_RANGE

2019-05-22 Thread SeriousJ
Well, no. This query gets me good results: 1) SELECT metrics.cost_micros, campaign.name, *segments.month* FROM campaign WHERE *segments.date* >= '2018-07-01' AND *segments.date* <= '2018-08-07' whereas this query doesn't get any result: 2) SELECT metrics.cost_micros, campaign.name FROM campa

Re: EXPECTED_FILTERS_ON_DATE_RANGE

2019-05-21 Thread SeriousJ
Same issue here. This is my query: SELECT metrics.cost_micros, campaign.name, segments.week FROM campaign WHERE segments.date >= '2018-07-01' AND segments.date <= '2018-08-07' and I get the following error message: Expects filters on the following field to limit a finite date range: 'segments

End of AdWords API?

2018-10-18 Thread SeriousJ
It seems like Google is rolling out a new version of its API for Adwords. The current version is called "AdWords API" and the next version is called "Google Ads API". We dread having to reprogram everything in PHP for the new version. Must we switch to the new version "Google Ads API"? If yes,

Re: PHP API - file reorganization

2017-04-04 Thread SeriousJ
As soon as I try to run the first example , here is the first error message: Fatal error: Uncaught GuzzleHttp\Exception\RequestException: cURL error 60: SSL certificate problem: unable to get local issuer certificate Is there a fix? On Tuesday, April 4, 2017 at 9:39:35 PM UTC+2, Sreelakshmi

Re: PHP API - file reorganization

2017-04-04 Thread SeriousJ
6:35:15 PM UTC+2, SeriousJ wrote: > > Actually, it's not just the file structure that changed. Classes names and > structures have changed too. For instance, the class AdWordsUser doesn't > exist anymore. > > So everything is totally broken. > > I can't be

Re: PHP API - file reorganization

2017-04-04 Thread SeriousJ
2017 at 6:18:01 PM UTC+2, SeriousJ wrote: > > Hi, > > I integrated the PHP Adwords API two years ago. > > Since then, I updated to the latest version of the API by pulling the > latest version of the Adwords files from Github. I simply pasted the latest > API files from th

PHP API - file reorganization

2017-04-04 Thread SeriousJ
Hi, I integrated the PHP Adwords API two years ago. Since then, I updated to the latest version of the API by pulling the latest version of the Adwords files from Github. I simply pasted the latest API files from the following folder: \src\Google\Api\Ads\AdWords\vXX where vXX was the

Re: How to get the Extensions that don't belong to a Campaign or an AdGroup.

2016-04-13 Thread SeriousJ
OK, so the problem remains. I can retrieve all the FeedItem using the FeedItemService , as you kindly suggested. However, I don't know to which campaign the FeedItem is associated to. Nor can I know if the FeedI

Re: How to get the Extensions that don't belong to a Campaign or an AdGroup.

2016-04-13 Thread SeriousJ
Hi again, I tried "TargetingCampaignId". I don't get an error message anymore but the campaignTargeting field remains blank although there are CalloutFeedItem assigned to some campaigns. Thank you. Le mercredi 13 avril 2016 10:23:42 UTC+2, SeriousJ a écrit : > > Hi Yin

Re: How to get the Extensions that don't belong to a Campaign or an AdGroup.

2016-04-13 Thread SeriousJ
Hi Yin, It works, thank you! I can't get the campaignTargeting field when selecting retrieving the FeedItem. $selector = new Selector(); $selector->fields = array("FeedId", "Status", "CampaignTargeting"); I tried "CampaignTargeting" and "campaignTargeting" but I get the following err

Re: How to get the Extensions that don't belong to a Campaign or an AdGroup.

2016-04-13 Thread SeriousJ
Hi Yin, It works, thank you. I can't get the campaignTargeting field when selecting retrieving the FeedItem. $selector = new Selector(); $selector->fields = array("FeedId", "Status", "campaignTargeting"); Le mardi 12 avril 2016 17:10:46 UTC+2, Yin Niu a écrit : > > Hi, > > After you have

Get extensions outside Campaigns or AdGroups

2016-04-12 Thread SeriousJ
I use the PHP client library with version v201603 of the API. I am trying to get the Callout Extensions that don't belong to a Campaign or an AdGroup. If an Extension belongs to a Campaign or an Adgroup, I can get it using the 'CampaignExtensionSettingService' or ''AdGroupExtensionSettingServi

How to get the Extensions that don't belong to a Campaign or an AdGroup.

2016-04-12 Thread SeriousJ
I use the PHP client library with version v201603 of the API. I am trying to get the Callout Extensions that don't belong to a Campaign or an AdGroup. If an Extension belongs to a Campaign or an Adgroup, I can get it using the 'CampaignExtensionSettingService' or ''AdGroupExtensionSettingServi